Skip to content

Commit

Permalink
Merge pull request #76 from JesperAxelsson/3.0.0
Browse files Browse the repository at this point in the history
3.0.0
  • Loading branch information
JesperAxelsson authored Dec 9, 2024
2 parents 4ca1cca + a7f9e95 commit b3c1430
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

## [Unreleased]

### Changed

## [3.0.0] 2024-12-09
### Changed
- `IntMap::new` is now const and creates an instance with zero capacity, thus will not allocate. The latter is also true for `IntMap::default`. Previously the initial capacity was 4. If you want to restore the old behavior, you can use `IntMap::with_capacity(4)`.
- The prime for hashing `u64` keys has changed. The previous one was `11400714819323198549u64`. If you want to restore the old prime, you can create a wrapper type for the `u64` key and implement `IntKey` for it.
- Make all iterator structs public.
Expand Down

0 comments on commit b3c1430

Please sign in to comment.