Skip to content

Speedup traverse_dynamic#4199

Open
preciz wants to merge 1 commit intophoenixframework:mainfrom
preciz:perf/optimize-traverse-dynamic
Open

Speedup traverse_dynamic#4199
preciz wants to merge 1 commit intophoenixframework:mainfrom
preciz:perf/optimize-traverse-dynamic

Conversation

@preciz
Copy link
Copy Markdown
Contributor

@preciz preciz commented Apr 18, 2026

Refactors traverse_dynamic from Enum.reduce to a recursive function and avoids redundant Map.delete operations when updating the fingerprint tree. These optimizations reduce overhead in the diffing hot path, resulting in a 15-20% speedup for both full renders and partial updates.

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