smawk
Functions for finding row-minima in a totally monotone matrix.
0.3.3
87M downloads/mo
#883 most downloaded on crates.io
mgeisler/smawk
What this package is like to depend on
Last release 2 months ago
16 Jun 2026
Release timing varies
gaps range from 5 weeks to 2.7 years
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
6 releases · first in 2018
1 release in the last 12 months
see the full history below
Release timeline
6 releases · Aug 2018 to Jun 2026Releases
latest 6-
0.3.316 Jun 2026Release notes
Open source →Version 0.3.3 (2026-06-16)
This release contains optimizations that make our benchmarks about 28% faster by
eliminating heap allocations and vector bounds checks. -
0.3.217 Sep 2023Release notes
Open source →Version 0.3.2 (2023-09-17)
This release adds more documentation and renames the top-level SMAWK functions.
The old names have been kept for now to ensure backwards compatibility, but they
will be removed in a future release. -
0.3.130 Jan 2021Release notes
Open source →Version 0.3.1 (2021-01-30)
This release relaxes the bounds on the
smawk_row_minima,
smawk_column_minima, andonline_column_minimafunctions so that
they work on matrices containing floating point numbers. -
0.3.002 Sep 2020Release notes
Open source →Version 0.3.0 (2020-09-02)
This release slims down the crate significantly by making
ndarrayan
optional dependency.- #45: Move non-SMAWK code and unit tests out of lib and into separate modules.
- #46: Switch
smawk_row_minimaandsmawk_column_minimafunctions to a newMatrixtrait. - #47: Make the dependency on the
ndarraycrate optional. - #48: Let
is_mongetake aMatrixargument instead ofndarray::Array2. - #50: Remove mandatory dependencies on
randandnum-traitscrates.
-
0.2.029 Jul 2020Release notes
Open source →Version 0.2.0 (2020-07-29)
This release updates the code to Rust 2018.
- #18: Make
online_column_minimageneric in matrix type. - #23: Switch to the [Rust 2018][rust-2018] edition. We test against the latest stable and nightly version of Rust.
- #29: Drop strict Rust 2018 compatibility by not testing with Rust 1.31.0.
- #32: Fix crash on overflow in
is_monge. - #33: Update
randdependency to latest version and get rid ofrand_derive. - #34: Bump
num-traitsandversion-syncdependencies to latest versions. - #35: Drop unnecessary Windows tests. The assumption is that the numeric computations we do are cross-platform.
- #36: Update
ndarraydependency to the latest version. - #37: Automate publishing new releases to crates.io.
- #18: Make
-
0.1.007 Aug 2018Release notes
Open source →Version 0.1.0 (2018-08-07)
First release with the classical offline SMAWK algorithm as well as a newer online version where the matrix entries can depend on previously computed column minima.