Closed martinus closed 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.
thanks for report. i'll check it and fix it now
the issiue is fixed and will be closed
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.