[Patch] Reduce memory footprint of MapElement

Hi, the class MapElement uses a HashMap with default size to store a max. of 8 different, but hard coded String keys. The patch changes this to 8 different String fields which reduces the memory footprint as well as the CPU costs. http://gis.19327.n5.nabble.com/file/n5521152/MapElement.patch MapElement.patch Gerd -- View this message in context: http://gis.19327.n5.nabble.com/Patch-Reduce-memory-footprint-of-MapElement-t... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Oops, forgot to change the eol from crlf to lf. Here is the corrected version http://gis.19327.n5.nabble.com/file/n5521158/MapElement_lf.patch MapElement_lf.patch Gerd GerdP wrote
Hi,
the class MapElement uses a HashMap with default size to store a max. of 8 different, but hard coded String keys. The patch changes this to 8 different String fields which reduces the memory footprint as well as the CPU costs.
http://gis.19327.n5.nabble.com/file/n5521152/MapElement.patch MapElement.patch
Gerd
-- View this message in context: http://gis.19327.n5.nabble.com/Patch-Reduce-memory-footprint-of-MapElement-t... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (1)
-
GerdP