Skip to content

Conversation

@benguild
Copy link

@benguild benguild commented Dec 14, 2025

This also fixes #247, but that should probably be merged first while this is reviewed.

Documented previously as the TODO in the code in both Go and C++. This aims to resolve it. If this is not sufficient, please let me know and I'll take a look. I took a shot at the C++ as well (in a draft PR) to match: google/s2geometry#494

@jmr jmr changed the title Resolving iterator TODO in "initCovering()" of EdgeQuery EdgeQuery.initCovering: Use a single iterator Dec 14, 2025
@jmr jmr requested a review from rsned December 14, 2025 10:25
@jmr
Copy link
Collaborator

jmr commented Dec 14, 2025

Is it faster? It looks more complicated.

@benguild benguild force-pushed the closestEdgeQueryTODO branch from 9f19ca5 to c8565f7 Compare December 14, 2025 10:32
@benguild
Copy link
Author

Is it faster? It looks more complicated.

Honestly, probably not that much. It's just avoiding the iterator cloning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants