2 releases (1 stable)

Uses old Rust 2015

1.0.0 Feb 7, 2019
0.1.0 Feb 9, 2018

#1944 in Algorithms

Download history 7332/week @ 2025-05-28 13405/week @ 2025-06-04 9378/week @ 2025-06-11 10661/week @ 2025-06-18 9651/week @ 2025-06-25 6799/week @ 2025-07-02 7229/week @ 2025-07-09 8790/week @ 2025-07-16 9873/week @ 2025-07-23 8618/week @ 2025-07-30 6070/week @ 2025-08-06 5934/week @ 2025-08-13 6340/week @ 2025-08-20 7848/week @ 2025-08-27 6222/week @ 2025-09-03 7317/week @ 2025-09-10

28,965 downloads per month
Used in 58 crates (24 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