-
-
Notifications
You must be signed in to change notification settings - Fork 202
Optimize Grid Row Pooling to eliminate moveNode deltas #9012
Copy link
Copy link
Closed
Labels
coreCore framework functionalityCore framework functionalityperformancePerformance improvements and optimizationsPerformance improvements and optimizations
Description
Currently, Neo.grid.Body recycles rows by reordering them in the vdom.cn array to match the logical record order. This triggers extensive moveNode DOM operations during scrolling, which is performance-heavy.
The Goal: Implement a Fixed-DOM-Order strategy for Rows, similar to the Cell pooling strategy.
- Keep Row component references in a stable order in
Body.vdom.cn. - Use CSS transforms (already in place) to position rows visually.
- When scrolling, simply update the
transformand content of the row that "wraps around", without changing its index in thevdom.cnarray.
This will reduce scroll deltas to pure attribute updates (transform + content), eliminating layout thrashing caused by node movement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreCore framework functionalityCore framework functionalityperformancePerformance improvements and optimizationsPerformance improvements and optimizations