@rreverser.comIngvar Stepanyan @rreverser.com
2026-11-26 15:33 UTC
Apparently Rust creates a single shared instance of Arc for Arc<[T]> and Arc<str> slices, and hands its reference-clones out in Arc::default(). Sounds like a good idea in principle - no allocations! - but VTune flagged it as a major atomic contention point in a hot path that created empty objects.
A reply in a thread.
3 likes, 0 reposts, 1 replies
3 Next post4 More from @rreverser.comBackBluesky home