Runtime?
Stanislav Blinov via Digitalmars-d
digitalmars-d at puremagic.com
Wed May 24 08:22:55 PDT 2017
On Wednesday, 24 May 2017 at 15:07:42 UTC, Steven Schveighoffer
wrote:
> However, I don't know the true answer. It may actually be 1.7MB
> of "bookeeping", but I doubt that...
It's a bit of pre-allocation and some internal bookkeeping.
void main()
{
import std.stdio;
import core.memory;
writeln(GC.stats);
}
// used, free
Stats(256, 1048320)
The remaining .7Mb could probably be attributed to some internal
data structures.
More information about the Digitalmars-d
mailing list