logo separator

[mkgmap-dev] [PATCH]mkgmap performance

From WanMil wmgcnfg at web.de on Mon Dec 26 16:34:33 GMT 2011

Thanks Gerd!

I have test it once and the patched mkgmap was 25% faster than r2147. I 
think common cases will not give such a big performance boost but the 
result is: it's faster (no matter how much) :-) Therefor I have commited 
the patch.

How did you measure the reduced heap memory? I only know the method to 
reduce the -Xmx parameter until java throws an OutOfMemoryExeption. But 
that's a very tedious method.

WanMil


> Hello list,
>
> attached is a small patch that improves mkgmap throughput.
> It uses the String.intern() method only in those places where tag info is
> read from input files.
> During my tests, this reduced(!) needed heap memory and made the program ~
> 5-10% faster.
>
> http://gis.638310.n2.nabble.com/file/n7108665/addtag_intern.patch
> addtag_intern.patch
>
>
> ciao,
> Gerd
>
>
> --
> View this message in context: http://gis.638310.n2.nabble.com/PATCH-mkgmap-performance-tp7108665p7108665.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list