Fix CI failures: formatting and performance regression
- Fixed Prettier formatting issues in fast-instantiator.ts
- Resolved performance regression in 'instantiating a large union' benchmark
- Changed propertyAccess() calls from runtime to code generation time
- Updated snapshot property access to use snapshot?.property syntax
- Performance regression was caused by runtime propertyAccess() calls adding overhead
Co-Authored-By: Harry Brundage <harry.brundage@gmail.com>
Add fast path array instantiation for readonly child instances
- Generate inline loops for model children in arrays to eliminate megamorphic callsites
- Follow existing pattern from map instantiation
- Add benchmark for array instantiation performance testing
Co-Authored-By: Harry Brundage <harry.brundage@gmail.com>