DMD producing huge binaries
Era Scarecrow via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 20 19:16:30 PDT 2016
On Saturday, 21 May 2016 at 01:35:05 UTC, Bill Hicks wrote:
> On Friday, 20 May 2016 at 19:41:16 UTC, Walter Bright wrote:
>> Hashing produces reproducible unique values. Random will not
>> be reproducible and may not even be unique.
>
> Just a troll here, but Quasirandom numbers are reproducible and
> unique. e.g., Sobol in base 2 can be very efficient and fast,
> for any output length.
Unless there's a way to seed it consistently so order doesn't
matter, it won't work. Although a fast CRC32 on the source could
then give you a seed to work with, I'd prefer a hash over PRNG.
More information about the Digitalmars-d
mailing list