Skip to content

Commit

Permalink
v0.5.5 (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Mar 22, 2024
1 parent 8e9aed1 commit d1fa2dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "fixedbitset"
version = "0.5.4"
version = "0.5.5"
authors = ["bluss"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -10,6 +10,13 @@ Please read the [API documentation here](https://docs.rs/fixedbitset/)

# Recent Changes

- 0.5.5
- [#116](https://github.com/petgraph/fixedbitset/pull/116): Add functions for counting the results of a set operation (`union_count`,
`intersection_count`, `difference_count`, `symmetric_difference_count`) by @james7132.
- [#118](https://github.com/petgraph/fixedbitset/pull/118): Shrink the stack size of FixedBitset. There should be zero stack size overhead
compared to a Vec.
- [#119](https://github.com/petgraph/fixedbitset/pull/119): Fix builds for wasm32.
- [#121](https://github.com/petgraph/fixedbitset/pull/121): Add support for SIMD acceleration for AVX builds.
- 0.5.4
- [#112](https://github.com/petgraph/fixedbitset/pull/112): Fix undefined behavior in IntoOnes and setup testing with MIRI by @SkiFire13
- 0.5.3 (yanked)
Expand Down
4 changes: 2 additions & 2 deletions src/block/avx.rs
Expand Up @@ -12,7 +12,7 @@ impl Block {
#[inline]
pub fn is_empty(self) -> bool {
unsafe {
let value = core::mem::transmute(self);
let value = _mm256_castpd_si256(self.0);
_mm256_testz_si256(value, value) == 1
}
}
Expand Down Expand Up @@ -85,7 +85,7 @@ impl PartialEq for Block {
fn eq(&self, other: &Self) -> bool {
unsafe {
let new = _mm256_xor_pd(self.0, other.0);
let neq = core::mem::transmute(new);
let neq = _mm256_castpd_si256(new);
_mm256_testz_si256(neq, neq) == 1
}
}
Expand Down

0 comments on commit d1fa2dc

Please sign in to comment.