The code for searching all occurrences of a word in a buffer was optimized in Zed, resulting in a runtime improvement from 1 second to 4 milliseconds. The optimized code is high-level and does not rely on complex optimizations or data structures.

5m read timeFrom registerspill.thorstenball.com
Post cover image
1 Comment

Sort: