[Issue 2331] Enum hashes many times slower than normal hashes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 11 00:26:32 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2331





------- Comment #1 from bugzilla at digitalmars.com  2008-10-11 02:26 -------
What's happening is that the static this() constructor builds the hash table
once. The enum version builds it every time it is used, as the enum name is
replaced with its initializer.


-- 



More information about the Digitalmars-d-bugs mailing list