4 ms·
the entire article rests on a shorter String that can be fit on registers reliably. If you have bytes in registers, it is not clear that passing bytes by value
by mistrial9 2y ago
the entire article rests on a shorter String that can be fit on registers reliably. If you have bytes in registers, it is not clear that passing bytes by value is "deeply flawed."
- fractaled 2y agoYou'd never have a `compare(std::string a, std::string b)` function in your code base. It would make copies of the strings (and destroy them). So it seems to me the article is comparing their new thing to a straw man.