Commit r4541: Simplify code, slightly improve performance

15 Jun
2020
15 Jun
'20
6:45 a.m.
Version mkgmap-r4541 was committed by gerd on Mon, 15 Jun 2020 Simplify code, slightly improve performance OsmReadingHooks: replace onCoordAddedToWay() method by onNodeAddedToWay() - now the method is (really) only called when a tagged node is added to a way - the node is passed as argument, it will never be null. The old code called the hook for every node, but no hook was interested in untagged nodes. Those hooks which implemented the method all used saver.getNode() to find the node which triggered the call. Now this is done only once in OsmHandler. http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4541
1714
Age (days ago)
1714
Last active (days ago)
0 comments
1 participants
participants (1)
-
svn commit