4 ms·
Arc<str> vs. String, is Arc<str> faster?
- deleted 3y ago[deleted]
- eps 3y agoIt would've helped greatly if the post bothered to mention the language.
- jasonjmcghee 3y agoIt's Rust
- ramon156 3y agoWhen primeagen is mentioned, you can assume it's Rust (;
- innocenat 3y agoAgree. I recognized the Rust language when I saw the actual code but would be nice to know just from the title.
- scotty79 3y agoArc<str> looks Rusty
- Philpax 3y agoThat's interesting. I wonder how `Rc<str>` would fare - it should be able to avoid the locking. (Of course, you lose the ability to send it across threads... but that might not matter)
- saghm 3y agoNot sure if they added this since you posted this comment, but at the bottom they mention the following under "Notes": > Someone asked why I’m not including Rc<str> in this comparison, the reason is single-threaded Arc<str> has a pretty similar performance profile.
- cmiller1 3y agoI don't mean to pick nits but this post could really use some proofreading. "You might be wandering" "Terminlogy"
- deleted 3y ago[deleted]