2 releases (1 stable)

Uses old Rust 2015

1.0.0 Feb 7, 2019
0.1.0 Feb 9, 2018

#521 in Algorithms

Download history 17931/week @ 2024-02-26 8886/week @ 2024-03-04 7132/week @ 2024-03-11 6264/week @ 2024-03-18 10105/week @ 2024-03-25 7878/week @ 2024-04-01 9323/week @ 2024-04-08 9557/week @ 2024-04-15 11960/week @ 2024-04-22 8737/week @ 2024-04-29 4465/week @ 2024-05-06 9005/week @ 2024-05-13 5340/week @ 2024-05-20 6897/week @ 2024-05-27 9074/week @ 2024-06-03 8924/week @ 2024-06-10

30,681 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