In order to mitigate the chance for hash table DoS attacks, we should make it possible to set the hash seed.
extern(C) void _d_setHashSeed(int seed);
http://forum.dlang.org/post/[email protected]
Comment #1 by dfj1esp02 — 2016-09-14T12:04:45Z
Another possibility is to change the hash algorithm adaptively by counting collisions.