Skip to content

perf: Avoid unnecessary mesh recomputation - #370

Merged
kylebarron merged 1 commit into
mainfrom
kyle/perf-mesh-recomputation
Mar 25, 2026
Merged

kylebarron merged 1 commit into
mainfrom
kyle/perf-mesh-recomputation

Conversation

@kylebarron

@kylebarron kylebarron commented Mar 25, 2026 •

Copy link
Copy Markdown
Member

In JS object equality on {} only checks instance equality. In this case we want to deep-compare the underlying functions (for their instance equality).

This should ensure that we don't recompute the mesh unnecessarily.

@kylebarron
kylebarron enabled auto-merge (squash) March 25, 2026 16:10
@kylebarron
kylebarron merged commit 5448c82 into main Mar 25, 2026
4 checks passed
@kylebarron
kylebarron deleted the kyle/perf-mesh-recomputation branch March 25, 2026 16:11
@ds-release-bot ds-release-bot Bot mentioned this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant