itertools
staticstep
itertools | staticstep | |
---|---|---|
3 | 5 | |
2,540 | 13 | |
1.0% | - | |
9.5 | 0.0 | |
4 days ago | over 2 years ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
itertools
-
Idiomatic way to filter empty/falsy elements
It might be a good fit for Itertools
-
zip-eq: a zip iterator that checks its inputs have equal lengths
Some relevant discussion: https://github.com/rust-itertools/itertools/pull/531
-
Better approach to repeatedly filtering an iterator till we reach a single item
It's un-deprecated because try_fold is considered to be not as ergonomic for now.
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
What are some alternatives?
staticvec - Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
advent-of-code-2021 - 🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2021
tref - Tree in Rows Elemental Format. Rust crate to parse, store and serialize trees.
deno - A modern runtime for JavaScript and TypeScript.
const-chunks - Extension trait to chunk iterators into const-length arrays.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
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