A third of the tokens in the code you send an LLM are comments. Indentation is 2.5%.
Sooner or later every coding-assistant project hits the same idea: the files we paste into the prompt are big, let's minify them. Collapse the indentation, delete blank lines, squeeze the whitespace like a JavaScript bundler does. It feels like the obvious win, because code looks like it's half spa…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-14 12:00 · DEV Community — AI
A third of the tokens in the code you send an LLM are comments. Indentation is 2.5%.