concatenation_benchmarks-rs
📈 benchmarking different ways to concatenate strings in rust (by hoodie)
RustAISe
By ScottSyms
concatenation_benchmarks-rs | RustAISe | |
---|---|---|
4 | 1 | |
301 | 17 | |
- | - | |
0.0 | 0.0 | |
6 months ago | over 1 year ago | |
Rust | Rust | |
- | 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.
concatenation_benchmarks-rs
Posts with mentions or reviews of concatenation_benchmarks-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-24.
-
String concatenations benchmarks (updated)
The widely quoted string concatenation benchmarks by Hendrik Sollich are 4 years old. I added a few methods and some macros from crates.io and re-ran the benches. Here are the results: 0 ns/iter (+/- 0) from_bytes 10 ns/iter (+/- 0) concat_string_macro 10 ns/iter (+/- 0) concat_strs_macro 10 ns/iter (+/- 0) mut_string_with_capacity_push_str_char 10 ns/iter (+/- 0) string_concat_macro 10 ns/iter (+/- 1) mut_string_with_capacity_push_str 14 ns/iter (+/- 0) concat_in_place_macro 19 ns/iter (+/- 10) mut_string_with_too_much_capacity_push_str 22 ns/iter (+/- 0) array_join 24 ns/iter (+/- 0) array_concat 24 ns/iter (+/- 0) array_join_long 24 ns/iter (+/- 0) mut_string_push_str 27 ns/iter (+/- 0) string_from_plus_op 27 ns/iter (+/- 0) to_string_plus_op 29 ns/iter (+/- 0) to_owned_plus_op 30 ns/iter (+/- 0) collect_from_array_to_string 34 ns/iter (+/- 0) collect_from_vec_to_string 39 ns/iter (+/- 0) mut_string_with_too_little_capacity_push_str 43 ns/iter (+/- 1) string_from_all 52 ns/iter (+/- 0) format_macro 53 ns/iter (+/- 0) format_macro_implicit_args 68 ns/iter (+/- 1) mut_string_push_string
-
Looking for feedback on an article/code on maritime data processing with RUST
format!() is slow (https://github.com/hoodie/concatenation_benchmarks-rs)
- 17 ways to concatenate strings in rust
- Rust Language Cheat Sheet
RustAISe
Posts with mentions or reviews of RustAISe.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-06.
-
Looking for feedback on an article/code on maritime data processing with RUST
Article is still in draft- it can be found along with the code at https://github.com/ScottSyms/RustAISe .
What are some alternatives?
When comparing concatenation_benchmarks-rs and RustAISe you can also consider the following projects:
tour_of_rust - A tour of rust's language features
go - The Go programming language
concat-string - A Rust library for concatenating string slices into owned strings.
concat_strs - Rust macro for quickly building a string from components.
learnxinyminutes-docs - Code documentation written as code! How novel and totally my idea!
string_concat - A useful string concatenation macro for no_std Rust