alkis / Superslice Rs
Licence: apache-2.0
Extensions for ordered Rust slices.
Stars: ✭ 17
Programming Languages
rust
11053 projects
Labels
Projects that are alternatives of or similar to Superslice Rs
Quicksilver
A simple framework for 2D games on desktop and web
Stars: ✭ 710 (+4076.47%)
Mutual labels: rust-library
spherical-cow
A high volume fraction sphere packing library
Stars: ✭ 24 (+41.18%)
Mutual labels: rust-library
meyda-rs
This may become an audio feature extraction library for Rust.
Stars: ✭ 15 (-11.76%)
Mutual labels: rust-library
Argh
Rust derive-based argument parsing optimized for code size
Stars: ✭ 803 (+4623.53%)
Mutual labels: rust-library
Lingua Rs
👄 The most accurate natural language detection library in the Rust ecosystem, suitable for long and short text alike
Stars: ✭ 260 (+1429.41%)
Mutual labels: rust-library
Redbpf
Rust library for building and running BPF/eBPF modules
Stars: ✭ 611 (+3494.12%)
Mutual labels: rust-library
poem
A full-featured and easy-to-use web framework with the Rust programming language.
Stars: ✭ 1,167 (+6764.71%)
Mutual labels: rust-library
Printpdf
An easy-to-use library for writing PDF in Rust
Stars: ✭ 404 (+2276.47%)
Mutual labels: rust-library
transaction-rs
The transaction abstraction library and its executors for rust
Stars: ✭ 16 (-5.88%)
Mutual labels: rust-library
Lopdf
A Rust library for PDF document manipulation.
Stars: ✭ 720 (+4135.29%)
Mutual labels: rust-library
tokio-linux-aio
Support for Linux kernel aio within Tokio.
Stars: ✭ 49 (+188.24%)
Mutual labels: rust-library
Rage
A simple, secure and modern encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.
Stars: ✭ 826 (+4758.82%)
Mutual labels: rust-library
Not Yet Awesome Rust
A curated list of Rust code and resources that do NOT exist yet, but would be beneficial to the Rust community.
Stars: ✭ 789 (+4541.18%)
Mutual labels: rust-library
This crate provides extensions for slice
s.
Licensed under APACHE-2.
Documentation
Installation
This crate works with Cargo and is on
crates.io. Add it to your Cargo.toml
:
[dependencies]
superslice = "1"
and augment slice
s 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:
- [X] Make
binary_search
as fast as: https://github.com/rust-lang/rust/pull/45333fast_binary_search
- [ ] Add
lower_bound
,upper_bound
,equal_range
to std: https://github.com/rust-lang/rfcs/issues/2184
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].