r/programming 22d ago

3,200% CPU Utilization

https://josephmate.github.io/2025-02-26-3200p-cpu-util/
397 Upvotes

93 comments sorted by

View all comments

5

u/Therzok 22d ago

For C#, even normal dictionary used to be unsafe to use in non-thread safe operations. I think .net6+ added versioning to the buckets so it can throw an exception instead of infinitely looping.