News for hackers. Stuff that matters.
Re:C Template Library by benibela on Wednesday December 30, 2020 @05:32PM (#25587013)
FreePascal has a lot of containers, perhaps more than the STL, but they all suck

I wanted a good hash map, so I spend a lot of time comparing them. There are like 10 separate map implementation in FreePascal, but they are all slower than C++'s std::unordered_map.

Then I compared another dozen of libraries, and found the fastest one that is like 50% faster than std::unordered_map. But it was a rather straight forward implementation of non-linear open addressing.

There are no comments on this comment yet.