[mkgmap-dev] Commit: r3192: performance improvement: use two-tier-structure in RuleIndex
From svn commit svn at mkgmap.org.uk on Thu Apr 17 09:29:02 BST 2014
Version mkgmap-r3192 was committed by gerd on Thu, 17 Apr 2014 performance improvement: use two-tier-structure in RuleIndex The advantages: - The lookup routine doesn't have to concatenate tag key and value to a key=value string for each tag of each element. This reduces the number of temp. StringBuilder instances drastically. - if no rule exists for the key, only one HashMap.get() is needed. - the index has a smaller memory footprint, because it keeps only references to already existing string objects Depending on the style and options, this reduces run time by up to 10% No change in output expected.
- Previous message: [mkgmap-dev] Commit: r3191: Fix copying of island names in SeaGenerator
- Next message: [mkgmap-dev] Commit: r3193: copy all tags with keys containing the string "name".
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list