Crates.io | superslice |
lib.rs | superslice |
version | 1.0.0 |
source | src |
created_at | 2018-02-09 21:22:10.738483 |
updated_at | 2019-02-07 19:57:57.407285 |
description | Extensions for slices |
homepage | https://github.com/alkis/superslice-rs |
repository | https://github.com/alkis/superslice-rs |
max_upload_size | |
id | 50401 |
size | 38,774 |
This crate provides extensions for slice
s.
Licensed under APACHE-2.
This crate works with Cargo and is on
crates.io. Add it to your Cargo.toml
:
[dependencies]
superslice = "1"
and augment slice
s by using its Ext
trait:
extern crate superslice;
use superslice::*;
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
lower_bound
, upper_bound
, equal_range
to std: https://github.com/rust-lang/rfcs/issues/2184