yakra / DataProcessing

Data Processing Scripts and Programs for Travel Mapping Project
0 stars 0 forks source link

optimizing vertex creation order #275

Open yakra opened 4 months ago

yakra commented 4 months ago

Carving this out of #242 into its own issue.

With Waypoints stored contiguously, graph point setup iterating via system->route (benchmarked slower when WaypointQuadtree::graph_points was written although the method changed quite a bit ) rather than via quadtree may become faster. Low impact, though. Low priority. Potentially higher impact: Vertices created in this order may yield a more favorable compressed edge order, leading to better memory locality when writing files.

3*2 ways to do it:

What to observe: