2 ms·
But then you could reference parts of large strings, copy small sections and manipulate those, etc. Modern programs can do 10 million heap allocations per seco
by CyberDildonics 12y ago
But 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.