google-labs-jules[bot]
|
351af77bd2
|
perf(GradientBlinds): optimize GC and layout thrashing
- Replace `pointerPosRef` and `mouseTargetRef` with mutable refs to prevent per-frame object allocation.
- Remove `getBoundingClientRect` from `requestAnimationFrame` loop to prevent synchronous layout thrashing.
- Fix `uniforms.iMouse.value` update logic to mutate array in-place.
Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
|
2026-02-02 02:19:28 +00:00 |
|