concatenation_benchmarks-rs

📈 benchmarking different ways to concatenate strings in rust (by hoodie)

Concatenation_benchmarks-rs Alternatives

Similar projects and alternatives to concatenation_benchmarks-rs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better concatenation_benchmarks-rs alternative or higher similarity.

concatenation_benchmarks-rs reviews and mentions

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)
    5 projects | /r/rust | 24 Feb 2022
    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
    2 projects | /r/rust | 6 Feb 2022
    format!() is slow (https://github.com/hoodie/concatenation_benchmarks-rs)
  • 17 ways to concatenate strings in rust
    1 project | /r/programmingcirclejerk | 25 Apr 2021
  • Rust Language Cheat Sheet
    4 projects | news.ycombinator.com | 25 Apr 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 26 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic concatenation_benchmarks-rs repo stats
4
301
0.0
6 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com