v0.4.0
This release improves the underlying implementation by replacing ndarray::ArrayView1
with the more flexible (and zero-dependency) &[T]
slice. This new implementation enhances the library's interoperability with other array-like data types and crates.
As of now importing the ArgMinMax
trait adds the .argminmax
function to:
- slice (
&[T]
) Vec
Using optional features, the .argminmax
function can be added to:
- "ndarray" feature:
ndarray::ArrayView1
&ndarray::Array1
(allows backwards compatibility) - "arrow" feature:
arrow::array::PrimitiveArray
P.S.: To include the amazing @CodSpeedHQ continuous performance monitoring in our CI we had to add the "half" feature as default-feature (see CodSpeedHQ/codspeed-rust#1). As soon as this issue is resolved we plan to remove again "half" from the default-features.
What's Changed
- 🐰 add codspeed benchmarking to ci/cd by @jvdd in #15
- 🍵 use slice internally + implement for various types by @jvdd in #13
- QOL improvements by @varon in #17
New Contributors
Full Changelog: v0.3.1...v0.4.0