Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.5.1 #124

Merged
merged 3 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

## [0.5.1] - 2024-04-21
### Changed
- Updated to `seize 0.3` ([#123])
- Fixed long-standing miri warning ([#123])

## [0.5.0] - 2024-02-11
### Changed
- (BREAKING) Updated to `ahash 0.8` ([#121])

## [0.4.0] - 2022-02-26
### Changed
- Moved memory management to [`seize`]() ([#102])
Expand Down Expand Up @@ -44,7 +53,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- First "real" release.

[Unreleased]: https://github.com/jonhoo/flurry/compare/v0.4.0...HEAD
[Unreleased]: https://github.com/jonhoo/flurry/compare/v0.5.1...HEAD
[0.5.1]: https://github.com/jonhoo/flurry/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/jonhoo/flurry/compare/v0.4.0...v0.5.0
[0.4.1]: https://github.com/jonhoo/flurry/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/jonhoo/flurry/compare/v0.3.1...v0.4.0
[0.3.1]: https://github.com/jonhoo/flurry/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/jonhoo/flurry/compare/v0.2.1...v0.3.0
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flurry"
version = "0.5.0"
version = "0.5.1"
authors = ["Jon Gjengset <jon@thesquareplanet.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
8 changes: 3 additions & 5 deletions src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ use crate::reclaim::{Atomic, Collector, Guard, RetireShared, Shared};
use std::borrow::Borrow;
use std::error::Error;
use std::fmt::{self, Debug, Display, Formatter};
use std::hash::{BuildHasher, Hash, Hasher};
use std::iter::FromIterator;
use std::hash::{BuildHasher, Hash};
use std::sync::atomic::{AtomicIsize, Ordering};

const ISIZE_BITS: usize = core::mem::size_of::<isize>() * 8;
Expand Down Expand Up @@ -1251,9 +1250,7 @@ where
{
#[inline]
fn hash<Q: ?Sized + Hash>(&self, key: &Q) -> u64 {
let mut h = self.build_hasher.build_hasher();
key.hash(&mut h);
h.finish()
self.build_hasher.hash_one(key)
}

fn get_node<'g, Q>(&'g self, key: &Q, guard: &'g Guard<'_>) -> Option<&'g Node<K, V>>
Expand Down Expand Up @@ -3357,6 +3354,7 @@ fn replace_twice() {
#[cfg(test)]
mod tree_bins {
use super::*;
use std::hash::Hasher;

// Tests for the tree bin optimization.
// Includes testing that bins are actually treeified and untreeified, and that, when tree bins
Expand Down
1 change: 0 additions & 1 deletion src/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use crate::HashMap;
use std::borrow::Borrow;
use std::fmt::{self, Debug, Formatter};
use std::hash::{BuildHasher, Hash};
use std::iter::FromIterator;

/// A concurrent hash set implemented as a `HashMap` where the value is `()`.
///
Expand Down
Loading