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

#2551 in Algorithms

Download history 274/week @ 2024-07-22 456/week @ 2024-07-29 211/week @ 2024-08-05 356/week @ 2024-08-12 268/week @ 2024-08-19 418/week @ 2024-08-26 341/week @ 2024-09-02 394/week @ 2024-09-09 300/week @ 2024-09-16 214/week @ 2024-09-23 225/week @ 2024-09-30 305/week @ 2024-10-07 196/week @ 2024-10-14 248/week @ 2024-10-21 146/week @ 2024-10-28 111/week @ 2024-11-04

709 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