Frontmatter
| id | 9193 |
| title | Implement Virtual Fields for Zero-Overhead Records |
| state | Closed |
| labels | enhancementaiperformancecore |
| assignees | tobiu |
| createdAt | Feb 17, 2026, 1:41 PM |
| updatedAt | Feb 17, 2026, 2:40 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9193 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9194 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 17, 2026, 2:40 PM |
Implement Virtual Fields for Zero-Overhead Records
tobiu cross-referenced by #9194 on Feb 17, 2026, 2:35 PM
tobiu added parent issue #9194 on Feb 17, 2026, 2:35 PM
tobiu assigned to @tobiu on Feb 17, 2026, 2:38 PM

tobiu
Feb 17, 2026, 2:40 PM
Input from Gemini 3 Pro:
✦ Implemented
virtual: truesupport inRecordFactoryand updatedDevIndex.model.Contributorto use it. Commits pushed tofeature/zero-overhead-records. Closing as the core feature implementation is complete. Verification and regression fixing continues in #9195 and the parent Epic #9194.
tobiu closed this issue on Feb 17, 2026, 2:40 PM
tobiu cross-referenced by #9199 on Feb 17, 2026, 3:33 PM
Objective
Implement
virtual: truesupport inNeo.data.RecordFactoryand updateDevIndex.model.Contributorto utilize it.Motivation
The
DevIndex.model.Contributorcurrently generates 60+ fields for yearly stats (e.g.,y2020,cy2020). Despite claims of "Zero Overhead", these are currently stored as individual properties on every record instance, causing significant memory duplication.Implementation Plan
Neo.data.RecordFactory:virtual: truein field configs.field.calculate(this[dataSymbol]).assignDefaultValuesandsetRecordFieldsmust skip virtual fields to ensure they are never written to the instance data.DevIndex.model.Contributor:addYearFieldsto setvirtual: truefor all year-based fields (y...,cy...,py...).calculatefunctions for these fields use efficient O(1) array lookups.Outcome
True "Zero Overhead" for calculated year fields, reducing memory footprint for the 50k+ contributor dataset while maintaining O(1) access performance.