Description[rng] improve RNG seed.
Prior to this change, both 0 and 1 as RNG seed would result in the same
internal state. state0 and state1 cannot both be zero, but murmur hash
maps 0 back to 0.
R=cbruni@chromium.org
BUG=v8:5069
Committed: https://crrev.com/d75baead74452c92d80065c3c5c7d5171670e120
Cr-Commit-Position: refs/heads/master@{#36757}
Patch Set 1 #
Messages
Total messages: 12 (4 generated)
|