bitter
string-rosetta-rs
bitter | string-rosetta-rs | |
---|---|---|
4 | 5 | |
67 | 109 | |
- | 0.0% | |
6.9 | 6.7 | |
1 day ago | about 1 month ago | |
Rust | HTML | |
- | 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.
bitter
-
bitter v0.6 - the performant bit reading library with a new faster API
bitter v0.6 is a pretty major change in the library as the API surface area is much slimmer and additional performance gains have been unlocked by allowing control of when the lookahead buffer is refilled to be passed downstream, so that one can take advantage of patterns in the data they are decoding.
-
GitHub - epage/string-benchmarks-rs: Comparison of Rust string types
What I've done for my crates (example #1) is take the csv that criterion generates and formulate better graphs using technologies designed for visualizations (like the R ecosystem).
-
Parsing Bitstreams with Rust and Nom
Updated the benchmark with your implementation! You can see the results here: https://github.com/nickbabcock/bitter#comparison-to-other-li...
string-rosetta-rs
-
Choosing a more optimal `String` type
These leaves off several relevant string types, including ecow which was encouraged over smol_str [0]
See https://github.com/rosetta-rs/string-rosetta-rs for some more analysis. HipStr also has a decent table [1]
[0] https://www.reddit.com/r/rust/comments/117ksvr/ecow_compact_...
[1] https://crates.io/crates/hipstr
- region allocator for strings
-
Announcing `compact_str` version 0.6! A small string optimization for Rust
SmolStr can online 22 characters and is immutable, but it is atomically ref counted so cloning is O(1). A good comparison of different string types can be found here
-
Announcing `compact_str` version 0.5! A small string optimization for Rust
Checkout this string-benchmarks-rs
- GitHub - epage/string-benchmarks-rs: Comparison of Rust string types
What are some alternatives?
smartstring - Compact inlined strings for Rust.
compact_str - A memory efficient string type that can store up to 24* bytes on the stack
libdeflate - Heavily optimized library for DEFLATE/zlib/gzip compression and decompression
STC - A modern, user friendly, generic, type-safe and fast C99 container library: String, Vector, Sorted and Unordered Map and Set, Deque, Forward List, Smart Pointers, Bitset and Random numbers.
rsip - SIP Rust library (generator & parser)
deku - Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
zune-entropy - Incredibly Spicy Entropy coders
miniz_oxide - Rust replacement for miniz
zstd - Zstandard - Fast real-time compression algorithm