File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " fixedbitset"
3- version = " 0.5.4 "
3+ version = " 0.5.5 "
44authors = [" bluss" ]
55license = " MIT OR Apache-2.0"
66readme = " README.md"
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ Please read the [API documentation here](https://docs.rs/fixedbitset/)
1010
1111# Recent Changes
1212
13+ - 0.5.5
14+ - [ #116 ] ( https://github.com/petgraph/fixedbitset/pull/116 ) : Add functions for counting the results of a set operation (` union_count ` ,
15+ ` intersection_count ` , ` difference_count ` , ` symmetric_difference_count ` ) by @james7132 .
16+ - [ #118 ] ( https://github.com/petgraph/fixedbitset/pull/118 ) : Shrink the stack size of FixedBitset. There should be zero stack size overhead
17+ compared to a Vec.
18+ - [ #119 ] ( https://github.com/petgraph/fixedbitset/pull/119 ) : Fix builds for wasm32.
19+ - [ #121 ] ( https://github.com/petgraph/fixedbitset/pull/121 ) : Add support for SIMD acceleration for AVX builds.
1320- 0.5.4
1421 - [ #112 ] ( https://github.com/petgraph/fixedbitset/pull/112 ) : Fix undefined behavior in IntoOnes and setup testing with MIRI by @SkiFire13
1522- 0.5.3 (yanked)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ impl Block {
1212 #[ inline]
1313 pub fn is_empty ( self ) -> bool {
1414 unsafe {
15- let value = core :: mem :: transmute ( self ) ;
15+ let value = _mm256_castpd_si256 ( self . 0 ) ;
1616 _mm256_testz_si256 ( value, value) == 1
1717 }
1818 }
@@ -85,7 +85,7 @@ impl PartialEq for Block {
8585 fn eq ( & self , other : & Self ) -> bool {
8686 unsafe {
8787 let new = _mm256_xor_pd ( self . 0 , other. 0 ) ;
88- let neq = core :: mem :: transmute ( new) ;
88+ let neq = _mm256_castpd_si256 ( new) ;
8989 _mm256_testz_si256 ( neq, neq) == 1
9090 }
9191 }
You can’t perform that action at this time.
0 commit comments