Closed tcm-marcel closed 6 years ago
Callgrind call graph at PerformVectorizedRead
before (left) and after the fix (right) when running oltpbench ycsb RecordRead. Only small changes, but it seems to be a little better. I don't know yet, why some of the invocation numbers are different.
Be aware that the colors are different between left and right when reading.
Let's wait with merging this PR:
1. I currently can't install packages on the dev machine, so this check is still outstanding. [done]
2. I also want to write a small example to ensure that the interator of [done]tbb::unordered_map
works that way I expect it to work.
It seems that the const iterator is not correct in tbb, as it still allows to change the values. I changed it to get a non-const iterator. (small example I used to verify this: https://gist.github.com/tcm-marcel/37eafcfa2984e5f93f05a0c7bad9f12b)