3 ms·
I haven't looked at the benchmark, but I'd assume that the comparison is supposed to be "idiomatic C" vs "idiomatic C++".
by LukeShu 14y ago
I haven't looked at the benchmark, but I'd assume that the comparison is supposed to be "idiomatic C" vs "idiomatic C++".
- adamnemecek 14y agoPossibly, but as they present it, it makes it seems as if there was something inherent that would make it so much slower.
- LukeShu 14y agoWell, for a long time the STL string class had poor performance. Idiomatic C++ would use the STL string class. Therefore idiomatic C++ would suffer a performance penalty.