7 ms·
But does it even conserve memory? Copying a string when you have the length is 2 bytes of machine code on x86 (rep movsb). Remember, code takes up memory too.
by priceishere 6mo ago
But does it even conserve memory?
Copying a string when you have the length is 2 bytes of machine code on x86 (rep movsb).
Remember, code takes up memory too.