35 ms·
> True, but only due to backwards compatibility with C - std::string operations have to add a null terminator for no other good reason. That's about the least
by jstimpfle 8y ago
> True, but only due to backwards compatibility with C - std::string operations have to add a null terminator for no other good reason.
That's about the least reason why std::string is inefficient.