A lot of people have tread this ground before, is there really anything left to add? There’s a lot of open source hash map implementations out there already. For example, here’s a fairly comprehensive benchmark on a bunch of them: Comprehensive Hash Map Benchmark. That benchmark compares insert, erase, and lookup performance across 15 differentContinue reading “Making a Parallel Hash Map. Should you even try?”
Tag Archives: programming
Making a Spin Lock, should you even try?
Why shouldn’t you write your own spin lock implementation There’s a really good post by Linus Torvalds on why you shouldn’t do it, you can find that here: Link. But if you don’t really want to read that post, it can be summarized as follows: Why we’re doing it anyway Because we don’t need aContinue reading “Making a Spin Lock, should you even try?”