cachetools icon indicating copy to clipboard operation
cachetools copied to clipboard

use long for internal counters

Open rr0gi opened this issue 3 years ago • 2 comments

I have a hashmap of 250M+ elements, buckets_num overflows on resize (and thankfully asserts, unlike builtin aa which seems to just corrupt memory) Idk if making it compile-time parameters is better option, or maybe using size_t also I am not sure if changing visible type of cache2q.length is acceptable, hence the cast

rr0gi avatar Feb 09 '22 00:02 rr0gi

Thanks, @rr0gi

will check today

ikod avatar Feb 09 '22 08:02 ikod

rebased to master and removed cast

rr0gi avatar Feb 14 '22 23:02 rr0gi