Bolt: Optimize WebGL loop to reduce GC and layout thrashing #54

Closed
ragusa-it wants to merge 1 commits from bolt-optimize-webgl-loop-6571928292931476466 into main

1 Commits

Author SHA1 Message Date
google-labs-jules[bot]
1fe7db0e16 perf(effects): optimize GradientBlinds loop
- Replace immutable refs with mutable objects for pointer tracking to reduce GC pressure
- Remove synchronous getBoundingClientRect from animation loop to prevent layout thrashing
- Ensure mouse coordinates are updated efficiently without re-allocating arrays

Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
2026-02-04 01:39:11 +00:00