2 releases (1 stable)

Uses old Rust 2015

1.0.0 Feb 7, 2019
0.1.0 Feb 9, 2018

#989 in Algorithms

Download history 12629/week @ 2024-07-21 6896/week @ 2024-07-28 7255/week @ 2024-08-04 5971/week @ 2024-08-11 7675/week @ 2024-08-18 7797/week @ 2024-08-25 7589/week @ 2024-09-01 8141/week @ 2024-09-08 7099/week @ 2024-09-15 8260/week @ 2024-09-22 8059/week @ 2024-09-29 7811/week @ 2024-10-06 11796/week @ 2024-10-13 10994/week @ 2024-10-20 7038/week @ 2024-10-27 6791/week @ 2024-11-03

36,787 downloads per month
Used in 53 crates (23 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