4 ms·
Can anyone TL;DR it? A single line, in Rust, can make a 24-core server slower than a laptop? What line is that?
by johnisgood 5y ago
Can anyone TL;DR it? A single line, in Rust, can make a 24-core server slower than a laptop? What line is that?
- jkelleyrtp 5y agoIn a multithreaded context, shared data was shared via atomic reference counting. The atomic operation acted as a single bottleneck for every operation. The solution was to derive deep cloning for the shared data (a 1 line fix) to reduce atomic contention.