Skip to content

perf(fmt): avoid relative resolution on cache hits - #199

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-fmt-relative-cache
Aug 5, 2026
Merged

perf(fmt): avoid relative resolution on cache hits#199
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-fmt-relative-cache

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Directory ignore cache hits still evaluated path.relative because it was used as a default parameter. This moves the fallback computation after the cache lookup, avoiding redundant path resolution without changing ignore behavior.

@chenjiahan
chenjiahan merged commit bfbb696 into main Aug 5, 2026
3 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-fmt-relative-cache branch August 5, 2026 10:55
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.

1 participant