agbrs / agb

Library for writing Game Boy Advance games in Rust
https://agbrs.dev/
Mozilla Public License 2.0
320 stars 27 forks source link

Update Rust crate rustc-hash to v2 #729

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rustc-hash dependencies major 1 -> 2

Release Notes

rust-lang/rustc-hash (rustc-hash) ### [`v2.0.0`](https://togithub.com/rust-lang/rustc-hash/blob/HEAD/CHANGELOG.md#200) - 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://togithub.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 ### [`v1.2.0`](https://togithub.com/rust-lang/rustc-hash/blob/HEAD/CHANGELOG.md#120-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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

corwinkuiper commented 5 months ago

New hash implementation, the multi byte hashing implementation isn't great as it involves 64 bit multiplication even on 32 bit platforms

renovate[bot] commented 5 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.