Re:EASTL: An Alternative C++ Standard Library
by tialaramex on Thursday August 05, 2021 @07:12AM
(#28072143)
Who said it was merely a performance difference? I said it was a behaviour difference for performance.
Both C++ concepts and templates have cat rules, "If it fits, I sits". Your insert() method has different semantics? I don't care, the function signature matched so I'm calling it anyway.
No one sane expects that every single implementation of an API must match the performance of its canonical implementation. Hell, I'm pretty sure that MS's STL in debug mode does not satisfy the STL performance requirements due to all the added checks, some being O(n) iirc.