Skip to content

Zero Overhead Record Architecture & Grid Dynamic Column Fixes #9194

@tobiu

Description

@tobiu

This Epic encapsulates the architectural shift to "Zero Overhead" records using virtual fields and the necessary fixes to the Grid component to support dynamic column remapping at runtime.

Strategic Goal

To achieve a flat memory profile for Neo.data.Record instances even with hundreds of calculated fields (e.g., yearly stats), while ensuring the Neo.grid.Container can robustly handle dynamic dataField changes without breaking virtual scrolling.

Scope

  1. Core Architecture: Implement virtual: true in RecordFactory to generate prototype-based getters instead of instance properties.
  2. Model Refactoring: Update DevIndex.model.Contributor to utilize virtual fields for O(1) access to raw data arrays.
  3. Grid Stability: Fix regressions in Neo.grid.Body where dynamic changes to column dataFields cause desynchronization in columnPositions and row recycling maps, leading to rendering artifacts during horizontal scroll.
  4. Verification: Implement reproduction test cases to validate the fix and ensure no future regressions.

Roadmap

Metadata

Metadata

Assignees

Labels

aiarchitectureArchitecture related issuescoreCore framework functionalityepicA big time intense ticket with related sub-tasksperformancePerformance improvements and optimizations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions