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

#2402 in Algorithms

Download history 523/week @ 2024-03-13 505/week @ 2024-03-20 387/week @ 2024-03-27 581/week @ 2024-04-03 581/week @ 2024-04-10 516/week @ 2024-04-17 311/week @ 2024-04-24 446/week @ 2024-05-01 395/week @ 2024-05-08 218/week @ 2024-05-15 353/week @ 2024-05-22 246/week @ 2024-05-29 279/week @ 2024-06-05 338/week @ 2024-06-12 435/week @ 2024-06-19 288/week @ 2024-06-26

1,395 downloads per month
Used in nb2nl

Apache-2.0

16KB
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