Efficiency of cloning strings in #rustlang:
&str: (negligible)
Rc<String>: 3ns
Arc<String>: 10ns
String: 23ns
#benchmarks
Replying to @Fylwind
the latter should be proportional to length; try it out!
8:29 AM - 7 Mar 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.