[PATCH] LocationHook performance

Hello WanMil, attached is a small patch that reduces the number of loops in hasAllTags() to detect if an element is fully worked out. Idea: We do not have to check all tags in remainingLevels, instead we have to check those tags in remainingLevels that are not set be the current boundary. This list is typically much smaller and often empty. http://gis.638310.n2.nabble.com/file/n7143332/LocationHook.patch LocationHook.patch Ciao, Gerd -- View this message in context: http://gis.638310.n2.nabble.com/PATCH-LocationHook-performance-tp7143332p714... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Gerd, thanks for the patch. I've just commited it :-) WanMil
Hello WanMil,
attached is a small patch that reduces the number of loops in hasAllTags() to detect if an element is fully worked out. Idea: We do not have to check all tags in remainingLevels, instead we have to check those tags in remainingLevels that are not set be the current boundary. This list is typically much smaller and often empty.
http://gis.638310.n2.nabble.com/file/n7143332/LocationHook.patch LocationHook.patch
Ciao, Gerd
-- View this message in context: http://gis.638310.n2.nabble.com/PATCH-LocationHook-performance-tp7143332p714... 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
participants (2)
-
GerdP
-
WanMil