Repository navigation
Faster rtree - #2385
Merged
Merged
Faster rtree#2385
Conversation
Contributor
|
great speed up! |
This was referenced May 7, 2016
candidate_cache is removed because of failing test make util-tests && ./unit_tests/util-tests --run_test=*/construct_multiple_levels_test first bad commit: [9692be6] Add cache for CandidateSegments to reduce heap worke even more Now SegmentIndex contains leaf index, object index and fixed_projected_coordinate
Changes: * LeafNode is aligned to LEAF_PAGE_SIZE. Alignment brings 24 bytes memory overhead for 4096, but reduces cache misses rate. * Unused m_element_count from leaf nodes file. The size is computed as m_leaves_region.size() / LEAF_PAGE_SIZE. * Added try/catch for mmap exceptions messages.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaks out the functional changes from #2347 to upstream them. This PR makes the StaticRTree factor 3 faster and in the process fixes some long standing issues:
This PR breaks the data format for
osrm-extractbecause the leaf size changes and is now page aligned.