DMD memory management
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jun 14 09:52:47 PDT 2015
On Sun, 14 Jun 2015 12:37:18 -0400, bitwise wrote:
> How does memory get cleaned up?
yes. by OS when process terminates.
http://www.drdobbs.com/cpp/increasing-compiler-speed-by-over-75/240158941
a small quote: "DMD does memory allocation in a bit of a sneaky way.
Since compilers are short-lived programs, and speed is of the essence,
DMD just mallocs away, and never frees."
so it's by design.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150614/4e8e4a5f/attachment.sig>
More information about the Digitalmars-d
mailing list