Pay as you go is really going to make a difference
nise at nise.com
Fri Jan 24 13:18:06 UTC 2020
On Friday, 24 January 2020 at 13:06:33 UTC, Steven Schveighoffer
> Most likely it's the runtime startup. Obviously sbrk quite a
> bit, but any runtime initialization (thread startup, mutex
> initialization, etc) are all going to go in there. Think of
> what the GC has to do!
> A good test would be to do a betterC version with printf and
> see what the difference is (technically it should be the same
> as the C version).
That makes perfectly sense, I didn't think about sbrk which needs
to bump the heap quite a bit during the startup.
More information about the Digitalmars-d