yakra / DataProcessing

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

nix Waypoint::ap_coloc #248

Open yakra opened 1 year ago

yakra commented 1 year ago

ap_coloc isn't needed for every waypoint, only graph points. It could conceivably be nixed, and stored in a std:pair with the corresponding waypoint in hi_priority_points & low_priority_points for graph generation.

Syntax might be a drag though, short of switching to C++17 & using structured bindings.


sizeof would still be 104 on FreeBSD & 112 on Ubuntu. Still above the magic 96 B for fitting 2 objects in 3 cache lines. 88 B on CentOs though.