-
Notifications
You must be signed in to change notification settings - Fork 330
Improvements #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements #296
Conversation
* Add ability to reuse term buffer * Add option for optimize index size if query only points
} | ||
if (level == true_max_level || !options_.optimize_for_space()) { | ||
// Add an ancestor term for this cell at the constrained level. | ||
terms.push_back(GetTerm(TermType::ANCESTOR, id.parent(level), prefix)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id.parent(level) == id
is always true here because level == id.level()
see old line 177 (or new 192)
Having 6 PRs in 1 will quickly become unwieldy. Please split up future PRs for easier disucssion. |
Will be done |
Yeah let's split this one up we can probably submit the others separate from the term indexer one. |
Improve s2region_term_indexer:
Add access to coverer
Add access to S2Polygon::subregion_bound_
Add S2_SYSTEM_HEADERS cmake options to avoid s2 compile time warnings from s2 headers
Add S2_INSTALL option with keeping old behavior
Needs tests run! PR now mostly for discussion.