Repository navigation
v0.7.0
Highlights
- Skip nulls: the new
ArgMinMaxMaskedandNaNArgMinMaxMaskedtraits take an Arrow validity bitmap and its bit offset, and returnNonewhen no element is valid (#99). Thearrowimplementations use them, so they now skip the nulls. - AVX512 on stable Rust (#83). The default features build on stable Rust for all targets.
i128andu128support (#92).- Faster: the SIMD loops compare the running min/max with one candidate per group of 4 vectors (#88). NEON is used for
i64andu64on aarch64 (#104). - Fixes: -0.0 and 0.0 are equal (f16, and f32/f64 with NaNs) (#98, #100); negative NaNs are ignored in f16 SIMD (#85); the ignore-NaN functions return the first non-NaN index when only infinities are left (#97, #102); 8 and 16-bit data only go to AVX512 when AVX512BW is available (#84).
Breaking changes
- MSRV is 1.89 (#83).
nightly_simdis no longer a default feature (#91). It only enables NEON on 32-bit ARM (nightly Rust). On x86 and aarch64 it has no effect.- The
arrow2feature is removed (#101), as arrow2 is archived. Call the functions onarray.values().as_slice(), withArgMinMaxMaskedto skip the nulls. - The
arrowimplementations skip nulls (#99). Before, the values in the null slots were included in the result.
What's Changed
- chore: update dependencies by @jvdd in #78
- ci: upgrade CodSpeed to v5 and pin nightly toolchain by @jvdd in #80
- ci: enable dependabot version updates by @jvdd in #79
- test: exclude infinities from the random float test data by @jvdd in #86
- chore(deps): bump the actions group with 2 updates by @dependabot[bot] in #81
- chore(deps): update rstest requirement from 0.26 to 0.27 in the cargo group by @dependabot[bot] in #82
- fix: ignore negative NaNs in the f16 SIMD implementations by @jvdd in #85
- fix: only dispatch 8 and 16-bit data to AVX512 when AVX512BW is available by @jvdd in #84
- ci: run the tests on AVX512 CPUs emulated by Intel SDE by @jvdd in #87
- feat: ungate AVX512 from nightly_simd and set rust-version to 1.89 by @jvdd in #83
- refactor: derive the core argmin/argmax from the core argminmax by @jvdd in #93
- ci: enable clippy by @jvdd in #90
- feat!: make nightly_simd a non-default feature by @jvdd in #91
- feat: add i128 and u128 support by @jvdd in #92
- refactor: dispatch all argminmax methods with one macro by @jvdd in #94
- fix: return the first non-NaN index in the scalar f16 argmin and argmax when only infinities are left by @jvdd in #97
- fix: treat -0.0 and 0.0 as equal in the f32 and f64 SIMD implementations that return NaNs by @jvdd in #98
- feat!: remove the arrow2 feature, as arrow2 is archived by @jvdd in #101
- fix: treat -0.0 and 0.0 as equal in the f16 implementations by @jvdd in #100
- fix: return the first non-NaN index in the SIMD implementations that ignore NaNs when only infinities are left by @jvdd in #102
- perf: compare the running min/max with one candidate per group of 4 vectors by @jvdd in #88
- perf: use NEON for the i64 and u64 argminmax on aarch64 by @jvdd in #104
- feat!: skip nulls with ArgMinMaxMasked and NaNArgMinMaxMasked, also in the arrow implementations by @jvdd in #99
- test: cover arrow Float16 arrays with nulls, and small cleanups of the masked code by @jvdd in #111
- refactor: implement DTypeInfo with one blanket impl instead of a macro by @jvdd in #112
- test: compare SIMD with scalar for every short array length, also on data with many ties by @jvdd in #114
New Contributors
- @dependabot[bot] made their first contribution in #81
Full Changelog: v0.6.3...v0.7.0