2 ms·
Has anyone build a linter that optimizes code for an LLM? The idea would be to make it more token efficient and (lower accidental perplexity), e.g. by renaming
by zurfer 2y ago
Has anyone build a linter that optimizes code for an LLM?
The idea would be to make it more token efficient and (lower accidental perplexity), e.g. by renaming variable names, fixing typos and shortening comments.
It should probably run after a normal linter like black.
- grajaganDev 2y agoGood idea - couldn't the linter also be an LLM?
- layer8 2y ago> accidental perplexity I have to remember this.