Repository navigation
Conversation
|
I think something might have been lost - in drolbr#167, way_bboxes is added to: https://github.com/drolbr/Overpass-API/pull/167/changes#diff-588331687964a7008508f33275b6f6477585d48f39195c8ec3814bff8d0b11f9R942, but that line is missing in this PR. The Nova Scotia regression suite flagged some queries whose behaviour change with this PR, e.g. 0574. Simplifying it a bit, the part that changed was |
|
Right, https://dev.overpass-api.de/overpass-turbo/?q=d2F5KGFyb3VuZDowLDQ0Ljc2MTAxNCwtNjMuNsSRMzQ3xIzEjjc1ODc0M8SWxJjEmsSROTgxKTsgxIZ0IGPEhm50Ow is also returning 9 ways. Looks like there’s something missing here which is already in my fork. |
|
I've added those lines. Still untested though. I need to set up the regression tests. |
|
I pulled this into my fork to test it. The fuzz and property-based tests found a change in behaviour vs baseline. I think the change is good -- IMO the patch fixes incorrect behaviour currently in master. Another datapoint about testing: neither the upstream built-in tests nor my fixed 612-query Nova Scotia corpus caught the change in behaviour. The change in behaviour: Currently returns: With this PR, returns: The new reponse feels more correct to me. Timing wise: nothing slows down, and some around queries become dramatically faster. On a Nova Scotia extract, an unbounded query: goes from 2,143ms to 964 ms (-55%). A maybe more realistic bounded query: goes from 484ms to 335ms (-31%). |
This is one of mmd's performance fixes ported over from drolbr#167. See the original PR for details.