Skip to content

Comments

Optimizations for when large numbers of files are added#3778

Open
tekacs wants to merge 1 commit intoAider-AI:mainfrom
tekacs:large-file-counts
Open

Optimizations for when large numbers of files are added#3778
tekacs wants to merge 1 commit intoAider-AI:mainfrom
tekacs:large-file-counts

Conversation

@tekacs
Copy link

@tekacs tekacs commented Apr 11, 2025

Hullo! One common issue that I've run into with aider is that when many files are in context, the CLI slows to a crawl. Every time you hit enter, there's a very long delay. This is also an issue in watch mode.

This PR fixes this issue, by showing a summary view and skipping the lag of tokenization when displaying the CLI with large numbers of files in context.

Having run with this for a few days, I can attest that input latency becomes much much more pleasant with this change!

@CLAassistant
Copy link

CLAassistant commented Apr 11, 2025

CLA assistant check
All committers have signed the CLA.

@tekacs tekacs force-pushed the large-file-counts branch from 9447b6a to 08963ee Compare April 11, 2025 14:40
@tekacs tekacs force-pushed the large-file-counts branch 2 times, most recently from 2bce92d to 6eab184 Compare April 16, 2025 19:27
@tekacs tekacs force-pushed the large-file-counts branch 2 times, most recently from 6d37627 to 0a1e86e Compare April 25, 2025 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants