Skip to content

Performance improvements#667

Merged
eemeli merged 3 commits intomainfrom
perf-fixes
Feb 16, 2026
Merged

Performance improvements#667
eemeli merged 3 commits intomainfrom
perf-fixes

Conversation

@eemeli
Copy link
Copy Markdown
Owner

@eemeli eemeli commented Feb 16, 2026

Fixes #650

The small change to using [...foo, bar] instead of foo.concat(bar) in bbdd93d seemed to have a measurable performance improvement, so let's do more of the same, and also stop Object.freeze()ing the path in those loops.

Let's also avoid calling visit() so unnecessarily often, as pointed out by @devingfx in #650.

Technically, not freezing the path is arguably a sort of a breaking change, so this is a good time for it.

@eemeli eemeli added this to the v3 milestone Feb 16, 2026
@eemeli eemeli merged commit e57f2d2 into main Feb 16, 2026
20 checks passed
@eemeli eemeli deleted the perf-fixes branch February 16, 2026 11:56
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.

Why alias resolution context is not propagated to merge key resolution?

1 participant