2 ms·
Yeah, I tried the locking version and didn't see a noticeable improvement.
by lambda 8y ago
Yeah, I tried the locking version and didn't see a noticeable improvement.
- ekidd 8y agoThank you for checking this, and determining it didn't actually apply in this case. We do a lot of I/O intensive Rust at work, and I have a list of things to double-check when benchmarking. The most common slowdowns: debug builds, unlocked stdio, line iterators, and anything else which allocates in an inner loop. If I can hit 250 MB/s throughput per core on my laptop, with some light data processing, I'm usually quite happy.