3 ms·
Automatic memory management makes copies?
by saagarjha 4y ago
Automatic memory management makes copies?
- WalterBright 4y agoNo. Another word for automatic memory management is garbage collection.
- saagarjha 4y agoI guess I should rephrase. Let's say I have a string, which owns its buffer. What happens in D if I take a substring of it? Does a copy of that section occur to form a new string?