Hacker News new | ask | show | jobs
by kid64 54 days ago
Grep'ing doesn't use tokens, it uses grep.
2 comments

Reading files is always the biggest token burning when coding. If it can't find stuff quickly or has to use less and head to trim it before finding it, then you're just wasting context window

Cursor both lets you highlight specific lines multiple times per chat and is much quicker at finding stuff.

Claude has to use more tokens to read the grep output.