Zed's team improved project search performance by addressing task scheduling priorities rather than low-level optimizations. The original implementation treated all search tasks equally, causing tasks that confirm matches to be starved by the overwhelming number of candidate-checking tasks. By restructuring the code to

9m read timeFrom zed.dev
Post cover image
Table of contents
How does one search in a project?Project search is not always fastRipgrep? Not on our watch!Enough dilly-dallying: let's get to workWork smart, not hardCase closed?
1 Comment

Sort: