logo separator

[mkgmap-dev] [PATCH]splitter memory usage

From GerdP gpetermann_muenchen at hotmail.com on Thu Nov 3 11:25:24 GMT 2011


This patch reduces memory requirement in splitter by ~50% by replacing class
SparseInt2ShortMultiMap with class Node2AreaMap. 
It also includes small performance tweaks.

Still not solved by this patch:
- Memory usage depends on the highest node id in the data.
- Node id > Integer.MAX_VALUE do not work (not a problem at this moment)

If this small patch is okay for you, I can provide a bigger one that also
fixes these issues, but touches many more files


View this message in context: http://gis.638310.n2.nabble.com/PATCH-splitter-memory-usage-tp6958659p6958659.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.

More information about the mkgmap-dev mailing list