You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IIRC, benchmarking during the Region::compute_stats reunification (TravelMapping#584) suggested this didn't amount to much, but it may be worth another look.
But first?
Would a change to std::map for the per-user regional tables make things faster or slower?
Would changes from this optimization be easier to see?
Floating-point division is expensive. Some redundant calculations occur not just for a HighwaySegment itself, but every traveler on it.
and replace the expressions accordingly.
IIRC, benchmarking during the
Region::compute_stats
reunification (TravelMapping#584) suggested this didn't amount to much, but it may be worth another look.But first?
std::map
for the per-user regional tables make things faster or slower?Would changes from this optimization be easier to see?
__builtin_ctz
(see TMBitset: Bit Twiddling Hacks TravelMapping/DataProcessing#598)
The text was updated successfully, but these errors were encountered: