staticstep
mir-algorithm
Our great sponsors
staticstep | mir-algorithm | |
---|---|---|
5 | 1 | |
13 | 172 | |
- | 1.2% | |
0.0 | 3.8 | |
over 2 years ago | 2 days ago | |
Rust | D | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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
- 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
mir-algorithm
-
embedrv2: Call D functions from R
[1] https://github.com/libmir/mir-algorithm/blob/master/source/mir/ndslice/connect/cpython.d
What are some alternatives?
staticvec - Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
range-v3 - Range library for C++14/17/20, basis for C++20's std::ranges
tref - Tree in Rows Elemental Format. Rust crate to parse, store and serialize trees.
js-iterators - Ruby style iterators in JS
itertools - Extra iterator adaptors, iterator methods, free functions, and macros.
ctl - My variant of the C Template Library
const-chunks - Extension trait to chunk iterators into const-length arrays.
IntervalUtility - .Net C # utility for working with intervals, such as time periods. The utility allows you to find intersections of periods, exclude periods, etc.
rust-algorithms - Common data structures and algorithms in Rust
embedrv2 - Updated version of https://bitbucket.org/bachmeil/embedr
rust - Empowering everyone to build reliable and efficient software.
FunctionalPlus - Functional Programming Library for C++. Write concise and readable C++ code.