staticstep
Provides truly zero-cost alternatives to Iterator::step_by for both incrementing and decrementing any type that satisfies RangeBounds<T: Copy + Default + Step>. (by slightlyoutofphase)
const-chunks
Extension trait to chunk iterators into const-length arrays. (by LouisGariepy)
Our great sponsors
staticstep | const-chunks | |
---|---|---|
5 | 1 | |
13 | 7 | |
- | - | |
0.0 | 6.8 | |
over 2 years ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
staticstep
Posts with mentions or reviews of staticstep.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-30.
- StaticStep 0.4.0: zero-overhead StepBy-like functionality for primitive RangeBounds implementors, now also with full-gamut integer overflow handling equivalent to that of StepBy
-
A critique of Rust's range types
TLDR it now completely matches StepBy's behaviour and still is not any slower than it was previously.
-
My Rust port of Prime Generator benchmark needs some optimization.
I was even inspired to make a little crate a few days ago that tries to offer a decent solution, after encountering someone else with basically the same optimization problem OP has.
- staticstep: bi-directional `step_by`-like functionality that actually optimizes well for the common use case of primitive ranges
const-chunks
Posts with mentions or reviews of const-chunks.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing staticstep and const-chunks you can also consider the following projects:
staticvec - Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
array_tool - Array helpers for Rust's Vector and String types
tref - Tree in Rows Elemental Format. Rust crate to parse, store and serialize trees.
number_range - Parse human readable numbers list into an iterable and vice versa
itertools - Extra iterator adaptors, iterator methods, free functions, and macros.
rust-algorithms - Common data structures and algorithms in Rust
mir-algorithm - Dlang Core Library
rust - Empowering everyone to build reliable and efficient software.
rfcs - RFCs for changes to Rust
foxtrot - A fast, experimental STEP file viewer