4 ms·
Unless the entire program is based on manipulating and parsing large strings....
by hueving 12y ago
Unless the entire program is based on manipulating and parsing large strings....
- CyberDildonics 12y agoBut then you could reference parts of large strings, copy small sections and manipulate those, etc. Modern programs can do 10 million heap allocations per second. If heap allocations are really a problem, that is a gigantic design flaw, and if it is happening with strings, simply using std::string should make a large impact. Surely not every string passed is both huge and needs to be copied.
- oldmanjay 12y agoit's amazingly easy to dismiss problems you don't fully understand and will never have to fix, but it's not a terribly interesting line of conversation to read. kinda feels like you masturbating all over a public forum.
- deleted 12y ago[deleted]