News for hackers. Stuff that matters.
Re:Effortless Performance Improvements in C++: std:unordered... by leeter on Thursday March 02, 2023 @10:08AM (#34996557)
It's not just backwards compat, it's all the crazy guarantees that the stdlib has to make. Most code doesn't have strong exception guarantees... the stdlib generally speaking does. It also has to deal with all sorts of silly things without breaking like people overloading operator,() and still expecting things to work without issue. They really are a case study in getting decent performance in most cases out of exceptionally defensively written code.

There are no comments on this comment yet.