imstr
Immutable strings, in Rust. (by xfbs)
ecow
Compact, clone-on-write vector and string. (by typst)
imstr | ecow | |
---|---|---|
1 | 3 | |
238 | 186 | |
- | 3.2% | |
7.4 | 6.8 | |
3 months ago | about 2 months ago | |
Rust | Rust | |
MIT License | 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.
imstr
Posts with mentions or reviews of imstr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-02.
ecow
Posts with mentions or reviews of ecow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-02.
-
imstr crate: Immutable Strings in Rust (Cheaply Clone-able and Slice-able Strings)
Easily growing an Arc is indeed not possible. I implemented a copy-on-write string without double indirection in ecow. Might be interesting if you decide to go down that route. It required a significant amount of unsafe code though.
- Why is RwLock not a Sync maker?
-
Ecow: Compact, clone-on-write vector and string.
GitHub: https://github.com/typst/ecow
What are some alternatives?
When comparing imstr and ecow you can also consider the following projects:
quick-protobuf - A rust implementation of protobuf parser
smol_str
readable - Human readable strings
decancer - A library that removes common unicode confusables/homoglyphs from strings.