Hello WanMil, I tested the patch on r2153, but sorry, I did not see any real improvement.
Here are some numbers: Verzeichnis von f:\osm_out_ref\niedersachsen 28.10.2011 15:41 11.629.857 63240001.osm.pbf 28.10.2011 15:41 13.454.668 63240002.osm.pbf 28.10.2011 15:41 15.077.982 63240003.osm.pbf 28.10.2011 15:41 11.447.198 63240004.osm.pbf 28.10.2011 15:41 12.717.149 63240005.osm.pbf 28.10.2011 15:41 12.601.470 63240006.osm.pbf 28.10.2011 15:41 10.123.728 63240007.osm.pbf 7 Datei(en) 87.052.052 Bytes 0 Verzeichnis(se), 171.072.065.536 Bytes frei r2153 with original ElementQuadTreeNode.java: G:\mkgmap_all\trunk\dist>java -Xmx1600m -Xms1600m -jar mkgmap.jar --max-jobs=1 -c f:\osm\gerd_mkgmap.cfg -c f:\osm_out_ref\niedersachsen\template.args Time started: Fri Dec 30 09:43:09 CET 2011 SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240001.osm.pbf: Creating quadtree took 2594 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240001.osm.pbf: Location hook finished in 15294 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240002.osm.pbf: Creating quadtree took 3250 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240002.osm.pbf: Location hook finished in 20574 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240003.osm.pbf: Creating quadtree took 3906 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240003.osm.pbf: Location hook finished in 18184 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240004.osm.pbf: Creating quadtree took 2718 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240004.osm.pbf: Location hook finished in 12935 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240005.osm.pbf: Creating quadtree took 3905 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240005.osm.pbf: Location hook finished in 13372 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240006.osm.pbf: Creating quadtree took 2390 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240006.osm.pbf: Location hook finished in 12560 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240007.osm.pbf: Creating quadtree took 1578 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240007.osm.pbf: Location hook finished in 8123 ms Time finished: Fri Dec 30 09:50:22 CET 2011 Total time taken: 432735ms r2153 with patched ElementQuadTreeNode.java: G:\mkgmap_all\trunk\dist>java -Xmx1600m -Xms1600m -jar mkgmap.jar --max-jobs=1 -c f:\osm\gerd_mkgmap.cfg -c f:\osm_out_ref\niedersachsen\template.args Time started: Fri Dec 30 09:34:16 CET 2011 SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240001.osm.pbf: Creating quadtree took 3155 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240001.osm.pbf: Location hook finished in 12840 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240002.osm.pbf: Creating quadtree took 3155 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240002.osm.pbf: Location hook finished in 17402 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240003.osm.pbf: Creating quadtree took 3780 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240003.osm.pbf: Location hook finished in 15996 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240004.osm.pbf: Creating quadtree took 2296 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240004.osm.pbf: Location hook finished in 10732 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240005.osm.pbf: Creating quadtree took 2859 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240005.osm.pbf: Location hook finished in 12513 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240006.osm.pbf: Creating quadtree took 2561 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240006.osm.pbf: Location hook finished in 10309 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240007.osm.pbf: Creating quadtree took 2077 ms SCHWERWIEGEND (LocationHook): f:\osm_out_ref\niedersachsen\63240007.osm.pbf: Location hook finished in 7154 ms Time finished: Fri Dec 30 09:41:30 CET 2011 Total time taken: 433328ms Gerd -- View this message in context: http://gis.638310.n2.nabble.com/PATCH-v1-LocationHook-speedup-tp7135704p7137649.html Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev