back

by Philpax·2y ago·view on hn ↗
That'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)
1 comments
Not 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.