Crates.io | ordslice |
lib.rs | ordslice |
version | 0.3.0 |
source | src |
created_at | 2017-11-07 00:43:44.994347 |
updated_at | 2018-02-09 21:09:37.810209 |
description | Extensions for ordered slices |
homepage | https://github.com/alkis/ordslice-rs |
repository | https://github.com/alkis/ordslice-rs |
max_upload_size | |
id | 38393 |
size | 31,065 |
This crate provides extensions for ordered slice
s.
Licensed under APACHE-2.
This crate is deprecated and replaced by superslice.
This crate works with Cargo and is on
crates.io. Add it to your Cargo.toml
:
[dependencies]
ordslice = "1"
and augment slice
s by using its Ext
trait:
extern crate ordslice;
use ordslice::Ext;
Now you can enjoy super fast lower_bound
, upper_bound
, and 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