DMD internal: appendToModuleMember performance
David Nadlinger via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 22 15:07:59 PDT 2016
On Friday, 22 April 2016 at 21:48:09 UTC, Walter Bright wrote:
> Why not just use a hash table? D's builtin one?
Apparently, some parts rely on the insertion order, although I'm
not convinced they should. Module::importAll is one of them, but
in a way that's trivial to avoid. I didn't check any other
locations.
If order is not important, a hash set should be fine.
— David
More information about the Digitalmars-d
mailing list