You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deduplicate crates when extending crate graphs
This is quadratic in runtime per deduplication attempt, but I don't think that'll be a problem for the workload here. Don't be scared of the diff, the actual diff is +42 -22, the rest is tests and test data.
Fixesrust-lang/rust-analyzer#14476
the commented out code runs 10% slower, whole file: https://github.com/saati/skiplist-rs/blob/6ddf457bd0dd7ac02d21cd36bca966b700037034/skiplist.rs
with iterators:
test bench::bench_search_short ... bench: 102 ns/iter (+/- 8)
without iterators:
test bench::bench_search_short ... bench: 92 ns/iter (+/- 8)
The text was updated successfully, but these errors were encountered: