Classes on stack

Walter Bright newshound2 at digitalmars.com
Fri Sep 2 19:54:44 UTC 2022


On 9/2/2022 6:23 AM, Steven Schveighoffer wrote:
> What do you mean? If you are suggesting that probably the module sorting is 
> insignificant, it definitely is not very intensive.

I am indeed suggesting it is insignificant.

> What I don't like about it is that it is a sort of immutable data. In other 
> words, the data does not change from one run to the next, but it's stored 
> unordered, and then every time the program loads, we have to order it. Every 
> time a DLL is loaded, this algorithm needs to be run.
> 
> It would be nice if it were stored in the order needed, so no sorting is needed. 
> The sorting algorithm is complex as well, it's not a simple quicksort.

In the olden days, I (and others) would just have the executable self-patch 
itself. But such behavior was then banned by the OS.



More information about the Digitalmars-d mailing list