ktprime / emhash

Fast and memory efficient c++ flat hash map/set
MIT License
435 stars 30 forks source link

bug in hash_table7 #9

Closed martinus closed 2 years ago

martinus commented 2 years ago

I'm running this benchmark: https://github.com/martinus/map_benchmark/blob/master/src/benchmarks/Iterate.cpp

But get errors from hash_table7, in the second loop that's erasing one element at a time and then iterates the whole map. The result I'm calculating should be 62498750000000, but I get something different. hash_table8 seems to be fine.

ktprime commented 2 years ago

thanks for report. i'll check it and fix it now

ktprime commented 2 years ago

the issiue is fixed and will be closed