Open yakra opened 1 year ago
Could conceivably get as low as 48 B:
*waypoint1
and *waypoint2
could be replaced with functions after Waypoint
and HighwaySegment
objects are stored sequentially in their Route
.double length
can be calculated on the fly -- I forget how much time store+retrieve saved in C++clinched_by
is necessary.clin_mtx
could go bye-bye.Add uint32_t collap_span, travel_span;
in order to collapse the HGEdge
class into HighwaySegment
and we're still at 56 B, < 1 cache line.
The implementation of
TMBitset
will makesizeof(HighwaySegment)
~128~ 112. Ergo, it will be a good candidate foralignas(64)
.What tasks iterate through these? How do they perform?
TMArray
: https://en.cppreference.com/w/c/memory/aligned_alloc ornew
operator