2 releases (1 stable)

Uses old Rust 2015

1.0.0 Feb 7, 2019
0.1.0 Feb 9, 2018

#836 in Algorithms

Download history 5730/week @ 2024-11-16 6268/week @ 2024-11-23 6333/week @ 2024-11-30 7576/week @ 2024-12-07 5333/week @ 2024-12-14 2321/week @ 2024-12-21 2757/week @ 2024-12-28 5597/week @ 2025-01-04 5689/week @ 2025-01-11 6593/week @ 2025-01-18 8631/week @ 2025-01-25 7030/week @ 2025-02-01 7055/week @ 2025-02-08 7195/week @ 2025-02-15 7412/week @ 2025-02-22 5757/week @ 2025-03-01

28,722 downloads per month
Used in 55 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