3 ms·
i have been using std::string for many, many years and have never needed to know how my specific standard libraries implement it. if i want to worry about perfo
by zabzonk 4y ago
i have been using std::string for many, many years and have never needed to know how my specific standard libraries implement it. if i want to worry about performance, i do it by timing and profiling, not reading standard library code.
- secondcoming 4y agoReally, you didn't care that C++11 forbade Copy-On-Write for std::string, or you never cared about the Short String Optimisation length that each platform supports?
- zabzonk 4y agoreally, i didn't care. cow has always seemed like a mistake to me, and what am i going to do about sso? make my strings intentionally shorter? or longer?