Skip to content

settings: Improve performance for internal editorconfig resolution#48243

Merged
smitbarmase merged 1 commit intomainfrom
improve-editorconfig-properties-lookup
Feb 3, 2026
Merged

settings: Improve performance for internal editorconfig resolution#48243
smitbarmase merged 1 commit intomainfrom
improve-editorconfig-properties-lookup

Conversation

@smitbarmase
Copy link
Member

Replaces O(N) iteration over all internal configs with O(D × log N) direct ancestor lookups, where D is path depth and N is total config count.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 3, 2026
@smitbarmase smitbarmase merged commit f21a933 into main Feb 3, 2026
29 checks passed
@smitbarmase smitbarmase deleted the improve-editorconfig-properties-lookup branch February 3, 2026 06:15
adb-sh pushed a commit to adb-sh/zed that referenced this pull request Feb 5, 2026
…ed-industries#48243)

Replaces O(N) iteration over all internal configs with O(D × log N)
direct ancestor lookups, where D is path depth and N is total config
count.

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant