2 releases (1 stable)

Uses old Rust 2015

1.0.0 Feb 7, 2019
0.1.0 Feb 9, 2018

#519 in Algorithms

Download history 17900/week @ 2024-02-25 8817/week @ 2024-03-03 7201/week @ 2024-03-10 6074/week @ 2024-03-17 10120/week @ 2024-03-24 8070/week @ 2024-03-31 9329/week @ 2024-04-07 9417/week @ 2024-04-14 12079/week @ 2024-04-21 8747/week @ 2024-04-28 4510/week @ 2024-05-05 8712/week @ 2024-05-12 5651/week @ 2024-05-19 6866/week @ 2024-05-26 9123/week @ 2024-06-02 8637/week @ 2024-06-09

30,608 downloads per month
Used in 54 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