| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-07-11 | Use uplifted `rustc-stable-hash` crate in `rustc_data_structures` | Urgau | -304/+0 | |
| 2023-12-10 | remove redundant imports | surechen | -1/+1 | |
| detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR. | ||||
| 2023-04-05 | Use SipHash-1-3 instead of SipHash-2-4 for StableHasher | Thom Chiovoloni | -259/+66 | |
| 2020-10-11 | SipHasher128: improve constant names and add more comments | Tyson Nottingham | -2/+2 | |
| 2020-10-03 | perf: buffer SipHasher128 | Tyson Nottingham | -0/+45 | |
| 2020-09-30 | Stable hashing: add comments and tests concerning platform-independence | Tyson Nottingham | -11/+45 | |
| SipHasher128 implements short_write in an endian-independent way, yet its write_xxx Hasher trait methods undo this endian-independence by byte swapping the integer inputs on big-endian hardware. StableHasher then adds endian-independence back by also byte-swapping on big-endian hardware prior to invoking SipHasher128. This double swap may have the appearance of being a no-op, but is in fact by design. In particular, we really do want SipHasher128 to be platform-dependent, in order to be consistent with the libstd SipHasher. Try to clarify this intent. Also, add and update a couple of unit tests. | ||||
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+418 | |
