string-interner
A data structure to efficiently intern, cache and restore strings. (by Robbepop)
flexstr
A flexible, simple to use, immutable, clone-efficient String replacement for Rust (by nu11ptr)
string-interner | flexstr | |
---|---|---|
1 | 8 | |
162 | 146 | |
- | - | |
6.5 | 0.0 | |
11 days ago | 3 months ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | 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.
string-interner
Posts with mentions or reviews of string-interner.
We have used some of these posts to build our list of alternatives
and similar projects.
-
String interner which spends a lot of time computing cache
what are you using? can you try https://github.com/Robbepop/string-interner?
flexstr
Posts with mentions or reviews of flexstr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-17.
-
Consuming Vec<T> during pattern matching, where T is not Copy, but Clone
https://crates.io/crates/flexstr
-
Is Rust Stack-Efficient Yet?
Not sure I follow the question exactly and tbh it was like a year ago and I forget the specifics. You are welcome to look at the code, however:
https://github.com/nu11ptr/flexstr/blob/master/flexstr/src/b...
-
Should Rust have something like go generate?
templates: https://github.com/nu11ptr/flexstr/tree/str_generics/generate
-
FlexGen: Generate beautiful looking Rust source code
BStr Example CStr Example OsStr Example
-
FlexStr 0.9.0 Released
Github | Crates.io | Docs.rs
-
FlexStr - 0.8 Released
[Github](https://github.com/nu11ptr/flexstr) | [Crates.io](https://crates.io/crates/flexstr) | [Docs.rs](https://docs.rs/flexstr/latest/flexstr/) | [Benchmarks](https://github.com/nu11ptr/flexstr/blob/master/benchmarks/README.md)
- FlexStr – A flexible, simple to use, immutable, clone-efficient String replacement for Rust. It unifies literals, inlined, and heap allocated strings into a single type.
- Show HN: FlexStr – An immutable, clone-efficient String replacement for Rust
What are some alternatives?
When comparing string-interner and flexstr you can also consider the following projects:
decancer - A library that removes common unicode confusables/homoglyphs from strings.
readable - Human readable strings
miri - An interpreter for Rust's mid-level intermediate representation
copyless - [deprecated] Avoid memcpy calls when working with standard containers
opentelemetry-rust - The Rust OpenTelemetry implementation
compiler-explorer - Run compilers interactively from your web browser and interact with the assembly
string-cache - String interning for Rust
rust - Empowering everyone to build reliable and efficient software.
sqlc - Generate type-safe code from SQL
rfcs - RFCs for changes to Rust