July 02, 2020 [Issue 21006] New: core.internal.hash.bytesHash: in 64-bit builds use a 64-bit-oriented algorithm | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21006 Issue ID: 21006 Summary: core.internal.hash.bytesHash: in 64-bit builds use a 64-bit-oriented algorithm Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody@puremagic.com Reporter: n8sh.secondary@hotmail.com Currently all builds use 32-bit MurmurHash3 for core.internal.hash.bytesHash. On 64-bit builds this means the high 32 bits of the initial seed are discarded (which is relevant for chained uses of hashOf) and only the low 32 bits of the output are populated. In addition to fixing those problems speed improvement is also possible. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply