1 | | I've noticed that MatchingReferrerFinder.visit(Way w) is using a sequential search |
2 | | through all way nodes to find the index of the node. This index is only used when the |
3 | | corresponding style rule uses it, in the default file elemstyles.mapcss no rule uses |
4 | | it. The same seq. search is done for members of relations, and again, no default rule |
5 | | uses this. I've created a quick hack which avoids the search when the only information |
6 | | that is needed is whether the parent way (relation) matches. |
| 1 | I've noticed that `MatchingReferrerFinder.visit(Way w)` is using a sequential search through all way nodes to find the index of the node. This index is only used when the corresponding style rule uses it, in the default file elemstyles.mapcss no rule uses it. The same seq. search is done for members of relations, and again, no default rule uses this. I've created a quick hack which avoids the search when the only information that is needed is whether the parent way (relation) matches. |