This crate provides extensions for slice
s.
Licensed under APACHE-2.
https://docs.rs/superslice
This crate works with Cargo and is on
crates.io. Add it to your Cargo.toml
:
toml
[dependencies]
superslice = "1"
and augment slice
s by using its Ext
trait:
```rust extern crate superslice;
use superslice::Ext; ```
Now you can enjoy high performance of common algorithms on slices:
lower_bound
upper_bound
equal_range
Worry not, work is on the way:
binary_search
as fast as ~~fast_binary_search
~~: https://github.com/rust-lang/rust/pull/45333lower_bound
, upper_bound
, equal_range
to std: https://github.com/rust-lang/rfcs/issues/2184