Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Re-measure IterableMap

Open sprunk opened this issue 1 year ago • 4 comments

Recent engines offer better tracing/profiling tools (Tracy) and Beherith claims that pairs(map) is faster than even the IterableMap.GetBarbarianData interface). Perhaps worth repeating whatever measurements had originally been made, or just measure existing use cases of iterable map, because if it's faster to just use pairs then most uses of iterable map can be thrown out (simplicity is king).

It does offer some nice features (constant-time count, random element, staggered iteration) so it shouldn't be completely removed though.

sprunk avatar Nov 10 '23 22:11 sprunk