Feedback Thread: DIP 1044--Enum Type Inference--Community Review Round 1
Walter Bright
newshound2 at digitalmars.com
Sat Nov 19 02:54:01 UTC 2022
With the syntax $e to look up an enum member, the compiler will need to search
*every* enum that is in scope. Since one of D's strengths is whole program
compilation, this can be slow. To speed that up, it will likely require that the
compiler maintain a hash table of all the enum fields.
I.e. a parallel symbol table will have to be maintained alongside the regular
symbol table.
More information about the Digitalmars-d
mailing list