Re:In C++, is empty() faster than comparing the size with zero?
by kllrnohj on Thursday October 28, 2021 @08:22PM
(#29033801)
Which is long since fixed with std:string & co. The data structure concept of a string has no need for linear length calculation. Rather, C just did strings badly.
[ Parent
| on HN ]
There are no comments on this comment yet.