Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
NovaX
on Jan 6, 2019
|
parent
|
context
|
favorite
| on:
Rust at speed – building a fast concurrent databas...
The benchmark allocates a new ReadHandle on every get(key) operation, whose constructor performs work under a shared lock. This is a design flaw of the benchmark, not the library.
Jonhoo
on Jan 6, 2019
[–]
I'm not sure where you get that from? The benchmark code clones one read handle for each read thread at the beginning, which is then used for the entire benchmark:
https://github.com/jonhoo/rust-evmap/blob/d307999c1ad78d10ec...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: