3 ms·
Recently I stumbled upon this crazy thing: https://github.com/anomalyco/opencode/issues/9676#issuecomment-3827198492 https://github.com/anomalyco/opencode/issue
by konovalov-nk 6mo ago
Recently I stumbled upon this crazy thing: https://github.com/anomalyco/opencode/issues/9676#issuecomment-3827198492 https://github.com/anomalyco/opencode/issues/9676#issuecomme...
`ripgrep` tool call on opencode added `--follow` override, which allowed to traverse symlinks. And you can imagine what happens when symlinks point to ancestors. My 9950x3D CPU had 100% load all the time until I did a bit of research and added config to forbid this on `rg` level.
So I'd refine it as "Premature optimization is the root of all evil. Blatant ignorance of it is even worse."