in reply to Re: Generating Unique numbers from Unique strings
in thread Generating Unique numbers from Unique strings
At one time, I knew the hash doubling algorithm, but I've forgotten and it also periodically changes. But when "too many" strings hash to the same bucket, Perl will increase the hash size to make more buckets and spread things out more. This all happens automatically and is fast.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Generating Unique numbers from Unique strings
by basiliscos (Pilgrim) on Apr 03, 2016 at 15:26 UTC | |
by Marshall (Canon) on Apr 03, 2016 at 19:43 UTC | |
by BrowserUk (Patriarch) on Apr 03, 2016 at 19:52 UTC | |
by Marshall (Canon) on Apr 03, 2016 at 19:56 UTC | |
by choroba (Cardinal) on Apr 03, 2016 at 16:23 UTC | |
|
Re^3: Generating Unique numbers from Unique strings
by rjohn1 (Sexton) on Apr 03, 2016 at 16:48 UTC | |
by Marshall (Canon) on Apr 03, 2016 at 17:49 UTC |