ivy.nvim/rust
Xymist 7fb8be541a Reduce lock contention (round 1)
- Use an async (i.e. unlimited buffer) MPSC channel instead of an
  Arc<Mutex<Vec>> for storing the scored matches in Sorter
- Use Arc<Matcher> instead of Arc<Mutex<Matcher>> for the matcher, as
  it's not mutated and appears to be threadsafe.

This cuts average iteration time (on the benchmarked machine) from
25.98ms to 16.08ms for the ivy_files benchmark.
2022-08-26 16:01:22 +01:00
..
finder.rs Format and clippy 2022-08-26 10:25:05 +01:00
lib.rs Reduce lock contention (round 1) 2022-08-26 16:01:22 +01:00
matcher.rs Format and clippy 2022-08-26 10:25:05 +01:00
sorter.rs Reduce lock contention (round 1) 2022-08-26 16:01:22 +01:00
thread_pool.rs Format and clippy 2022-08-26 10:25:05 +01:00