3 releases (breaking)

Uses old Rust 2015

0.3.0 Feb 9, 2018
0.2.0 Dec 1, 2017
0.1.0 Nov 7, 2017

#1668 in Algorithms

Download history 236/week @ 2023-02-05 251/week @ 2023-02-12 276/week @ 2023-02-19 186/week @ 2023-02-26 306/week @ 2023-03-05 208/week @ 2023-03-12 240/week @ 2023-03-19 158/week @ 2023-03-26 177/week @ 2023-04-02 139/week @ 2023-04-09 111/week @ 2023-04-16 172/week @ 2023-04-23 174/week @ 2023-04-30 139/week @ 2023-05-07 106/week @ 2023-05-14 158/week @ 2023-05-21

593 downloads per month
Used in nb2nl

Apache-2.0

15KB
188 lines

This crate provides extensions for ordered slices.

Build Status Latest Version

Licensed under APACHE-2.

Deprecated

This crate is deprecated and replaced by superslice.

Documentation

https://docs.rs/ordslice

Installation

This crate works with Cargo and is on crates.io. Add it to your Cargo.toml:

[dependencies]
ordslice = "1"

and augment slices by using its Ext trait:

extern crate ordslice;

use ordslice::Ext;

Now you can enjoy super fast lower_bound, upper_bound, and equal_range.

Why isn't this part of the standard library?

Worry not, work is on the way:

No runtime deps