File: CHANGELOG.md

package info (click to toggle)
rust-rustc-hash-2 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 136 kB
  • sloc: makefile: 4
file content (19 lines) | stat: -rw-r--r-- 793 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## 2.0.0

- Replace hash with faster and better finalized hash.
  This replaces the previous "fxhash" algorithm originating in Firefox
  with a custom hasher designed and implemented by Orson Peters ([`@orlp`](https://github.com/orlp)).
  It was measured to have slightly better performance for rustc, has better theoretical properties
  and also includes a signficantly better string hasher.
- Fix `no_std` builds

## 1.2.0 (**YANKED**)

**Note: This version has been yanked due to issues with the `no_std` feature!**

- Add a `FxBuildHasher` unit struct
- Improve documentation
- Add seed API for supplying custom seeds other than 0
- Add `FxRandomState` based on `rand` (behind the `rand` feature) for random seeds
- Make many functions `const fn`
- Implement `Clone` for `FxHasher` struct