Skip to content

Cache edge geometry/bbox in a decorator - #2688

Open
otbutz wants to merge 9 commits into
graphhopper:masterfrom
otbutz:caching_iterator
Open

otbutz wants to merge 9 commits into
graphhopper:masterfrom
otbutz:caching_iterator

Conversation

@otbutz

@otbutz otbutz commented Oct 26, 2022 •

Copy link
Copy Markdown
Contributor

Less invasive variant of #2338

  • promotes GHUtility.createBBox() as a default interface method of the EdgeIteratorState
  • EdgeIteratorState implementation following the decorator pattern
  • EdgeIteratorState implementation for the CustomWeighting which caches the bbox and full geometry of an edge

@otbutz otbutz mentioned this pull request Oct 26, 2022
@otbutz otbutz changed the title Cache geometries/bbox in the iterator Cache geometries/bbox in the decorator Oct 31, 2022
@otbutz otbutz changed the title Cache geometries/bbox in the decorator Cache geometries/bbox in a decorator Nov 2, 2022
Thomas Butz added 4 commits November 3, 2022 11:35
# Conflicts:
#	core/src/main/java/com/graphhopper/routing/weighting/custom/CustomWeightingHelper.java
@otbutz
otbutz marked this pull request as ready for review November 3, 2022 10:45
@otbutz otbutz changed the title Cache geometries/bbox in a decorator Cache edge geometry/bbox in a decorator Nov 3, 2022

This branch has not been deployed

No deployments
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.

1 participant