<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<meta content="text/html; charset=UTF-8">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Uli,</p>
<p><br>
</p>
<p>thanks for the patch. I tried it and found no significant change in run time</p>
<p>or memory usage. <br>
</p>
<p>My test case: Compile 9 tiles (a part of the Britisch Isles) (with --max-jobs on 4 cores)
<br>
</p>
<p>In what scenario do you think that the stream methods should save time?</p>
<p><br>
</p>
<p>My understanding is that the list streaming is better as it allows automatic</p>
<p>use of multiple cores, so I'd expect improvements in e.g. the gmapsupp builder<br>
</p>
<p>which uses a single thread, but not in the code which compiles the tiles.</p>
<p>On the other hand, the combiners which run single threaded are probably</p>
<p>more I/O bound.<br>
</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Von:</b> mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von UliBaer <ulibaer@gmail.com><br>
<b>Gesendet:</b> Dienstag, 2. August 2016 10:53:15<br>
<b>An:</b> mkgmap-dev@lists.mkgmap.org.uk<br>
<b>Betreff:</b> Re: [mkgmap-dev] Move to Java 1.8</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Gerd Petermann wrote<br>
> Hi Uli,<br>
> <br>
> thanks for the hint. I'll experiment with this in future. At the moment I<br>
> don't know<br>
> of any bottlenecks which could be solved by this.<br>
> <br>
> Gerd<br>
<br>
Hi Gerd,<br>
<br>
yesterday evening i played a little bit with list streaming and found an<br>
(albeit small) speed increase in modifying some source code.<br>
Unfortunately the loop code is mainly not written in a "streaming friendly"<br>
way, e. g. with lots of local variable access inside the loop.<br>
I have attached a patch out of eclipse against version 3688. If i find more<br>
time, i'll dig deeper into that.<br>
<br>
Best regards, Uli<br>
<br>
Attached patch: patch.txt<br>
<<a id="LPlnk157420" href="http://gis.19327.n5.nabble.com/file/n5879637/patch.txt">http://gis.19327.n5.nabble.com/file/n5879637/patch.txt</a>>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gis.19327.n5.nabble.com/Move-to-Java-1-8-tp5879546p5879637.html">
http://gis.19327.n5.nabble.com/Move-to-Java-1-8-tp5879546p5879637.html</a><br>
Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
mkgmap-dev@lists.mkgmap.org.uk<br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</div>
</span></font></div>
</body>
</html>