[mkgmap-dev] Commit r4541: Simplify code, slightly improve performance
From svn commit svn at mkgmap.org.uk on Mon Jun 15 07:45:12 BST 2020
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
- Previous message: [mkgmap-dev] Commit r4540: Don't create cycleway for route=ferry when ferry way has oneway tag and --make-opposite-cycleways is active
- Next message: [mkgmap-dev] Commit r4542: minor code improvements
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list