2 releases (1 stable)

Uses old Rust 2015

1.0.0 Feb 7, 2019
0.1.0 Feb 9, 2018

#978 in Algorithms

Download history 3836/week @ 2023-12-11 2830/week @ 2023-12-18 1212/week @ 2023-12-25 2532/week @ 2024-01-01 4389/week @ 2024-01-08 6047/week @ 2024-01-15 6012/week @ 2024-01-22 7494/week @ 2024-01-29 8517/week @ 2024-02-05 9835/week @ 2024-02-12 10288/week @ 2024-02-19 17931/week @ 2024-02-26 8886/week @ 2024-03-04 7132/week @ 2024-03-11 6264/week @ 2024-03-18 9731/week @ 2024-03-25

32,223 downloads per month
Used in 50 crates (21 directly)

Apache-2.0

24KB
308 lines

This crate provides extensions for slices.

Build Status Latest Version

Licensed under APACHE-2.

Documentation

https://docs.rs/superslice

Installation

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

[dependencies]
superslice = "1"

and augment slices 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

Why isn't this part of the standard library?

Worry not, work is on the way:

No runtime deps