| ▲ | adyavanapalli 3 hours ago | |
For the edit tool, you should consider implementing a hash-based approach where each line of code is hashed and referenced by it when doing replacements. You can read up on the approach here: https://blog.can.ac/2026/02/12/the-harness-problem/ I didn't do much benchmarking, but anecdotally, I found it to be making less edit errors. YMMV | ||