Motivation for compile time function execution

Miles _______ at _______.____
Thu Feb 15 16:16:54 PST 2007


Walter Bright wrote:
> Miles wrote:
>> Is there some rationale for not using an MD5 hash of the string?
> 
> It's not reversible - no pretty printing, no demangling, etc.

For common usage, does it really need to be reversible?

Pretty printing and demangling are only used for debugging purposes, so,
this information should go to debug sections of the object file, that
are not loaded into memory unless you are running the debugger. And let
the debugger use that information to extract what the symbol means.



More information about the Digitalmars-d mailing list