We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The implementation of TMBitset will make sizeof(HighwaySegment) 128 112. Ergo, it will be a good candidate for alignas(64).
TMBitset
sizeof(HighwaySegment)
alignas(64)
What tasks iterate through these? How do they perform?
TMArray: https://en.cppreference.com/w/c/memory/aligned_alloc or new operator
TMArray
new
The text was updated successfully, but these errors were encountered:
Could conceivably get as low as 48 B:
*waypoint1
*waypoint2
Waypoint
HighwaySegment
Route
*route
double length
*concurrent
clinched_by
clin_mtx
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.
uint32_t collap_span, travel_span;
HGEdge
Sorry, something went wrong.
No branches or pull requests
The implementation of
TMBitset
will makesizeof(HighwaySegment)
128112.Ergo, it will be a good candidate for
alignas(64)
.What tasks iterate through these? How do they perform?
TMArray
: https://en.cppreference.com/w/c/memory/aligned_alloc ornew
operatorThe text was updated successfully, but these errors were encountered: