[PR #217] The one performance patch to rule them all #333

Closed
opened 2026-03-02 04:13:20 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/217

State: closed
Merged: Yes


Realized that all our Git Rewrite ops can ignore blame history before Git AI was installed. In very large and very old repos this can be 100x faster.

v1 of this patch used the timestamp of your first authorship note, but that's a little slow to lookup / flaky. Same benefit and much simpler to just setting the date of Git AI's first release for now. We'll come back to this in 6 months with a faster lookup op (right now looking overrides the gain of a few extra months of history)

**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/217 **State:** closed **Merged:** Yes --- Realized that all our Git Rewrite ops can ignore blame history before Git AI was installed. In very large and very old repos this can be 100x faster. v1 of this patch used the timestamp of your first authorship note, but that's a little slow to lookup / flaky. Same benefit and much simpler to just setting the date of Git AI's first release for now. We'll come back to this in 6 months with a faster lookup op (right now looking overrides the gain of a few extra months of history)
kerem 2026-03-02 04:13:20 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#333
No description provided.