Classes on stack
Walter Bright
newshound2 at digitalmars.com
Fri Sep 2 04:23:02 UTC 2022
On 9/1/2022 4:58 PM, Steven Schveighoffer wrote:
> On a somewhat related note, I wish that there would be a way to avoid the module
> constructor sorting at runtime, because it is the same every time, and a waste
> of CPU cycles to do it. But this can only be done *after* linking. If there were
> some way to preallocate space for the module ctor cycle order, and then run a
> post-build step to edit that graph, it would be a great improvement to have.
How many modules are in your program?
More information about the Digitalmars-d
mailing list