Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.27k stars 3.31k forks source link

Make distances storage optional #5253

Closed danpat closed 2 weeks ago

danpat commented 5 years ago

With https://github.com/Project-OSRM/osrm-backend/pull/5251, we finally caved in the name of performance, and we pre-calculate edge distance and store it. This makes requesting distance values from large table requests very fast.

However, not everyone needs this, and as we're C++ people, we don't believe you should pay for what you don't use.

https://github.com/Project-OSRM/osrm-backend/issues/5218 captures the idea of making some data optional.

This ticket is specifically about the .distance property added by #5251. It should be possible to optionally generate it, and optionally load it, reducing the disk/memory overhead if you're not interested in this property.

github-actions[bot] commented 1 month ago

This issue seems to be stale. It will be closed in 30 days if no further activity occurs.