await
await copied to clipboard
CppCon2018: nanotest
Dear Gor, as VS16.8 has now official coroutine support i compiled your source on Windows and VS 2019 16.8.2 and Win10 x64. I just removed the experimental from the namespace,
All 3 algorithms of nanotest.cpp report "!!!! BUG" on windows and i cant understand why ....
naive big 1
count: 67108864 lookups: 1048576 repeat 5 50.106 ns per lookup/log2(size) sum 2618390 !!!! BUG, expected 2624940
sm big 1
count: 67108864 lookups: 1048576 repeat 5 64.5962 ns per lookup/log2(size) sum 2618390 !!!! BUG, expected 2624940
coro big 1
count: 67108864 lookups: 1048576 repeat 5 64.6175 ns per lookup/log2(size) sum 2618390 !!!! BUG, expected 2624940