I submitted my container library to code.dlang.org

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 4 08:12:31 PDT 2015


On Friday, 3 April 2015 at 20:41:26 UTC, Martin Nowak wrote:
> A global random hash seed would work, but it needs to be 
> accessible for
> reproducing test cases (druntime DRT option or in core.runtime).

I think, leave the seed zero and only provide a function to 
change it:
extern(C) void _d_setHashSeed(int seed);
Then applications will set it to whatever value they want. The 
function shouldn't be broadly exposed as only server frameworks 
will need it.


More information about the Digitalmars-d mailing list