rust/library/std
Matthias Krüger 56557c4555
Rollup merge of #127297 - the8472:path-new-hash, r=Nilstrieb
Improve std::Path's Hash quality by avoiding prefix collisions

This adds a bit rotation to the already existing state so that the same sequence of characters chunked at different offsets into separate path components results in different hashes.

The tests are from #127255

Closes #127254
2024-07-07 14:22:00 +02:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Rollup merge of #127297 - the8472:path-new-hash, r=Nilstrieb 2024-07-07 14:22:00 +02:00
tests Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
build.rs Add build.rs config for reliable f16 and f128 2024-06-25 01:32:36 -04:00
Cargo.toml Cleanup bootstrap check-cfg 2024-06-27 11:30:03 +02:00