3 ms·
The link talks about nano- vs micro-seconds, so probably just a typo.
by flohofwoe 4y ago
The link talks about nano- vs micro-seconds, so probably just a typo.
- _gabe_ 4y agoI just re-ran the benchmarks and I was mis-remembering those statistics quite a bit. It looks like C# takes 124.5 nanoseconds on average for a hash set lookup. This was benchmarked using BenchmarkDotNet :)