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
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to