Skip to content

v0.0.15: Compiler Reactive Bindings & Scope Optimization

Choose a tag to compare

@hrutavmodha hrutavmodha released this 21 Sep 13:37
· 104 commits to master since this release

What's Changed

  • Compiler Reactive Bindings (BUG-117): Registered @for loop alias variables (item, index, and destructured pattern identifiers) into sub-module reactiveBindings and expression deps, enabling precise dynamic instruction execution.
  • Streamlined Identifier Codegen (BUG-118): Replaced 4-tier nested ternary fallback chains in astToJS identifier code generation with direct, CSP-safe getScopeValue(scope, name) lookups, significantly reducing constant pool bloat and bundle size.
  • Runtime Optimization: Removed the ad-hoc getDynamicPcs() instruction set scanner and its cache from DriftClientVM, executing dynamic row updates directly through compiler-emitted reactiveBindings.
  • Bundle Size Reduction: Total uncompressed bundle size decreased by 22.4% (down from 41.5 kB to 32.2 kB) and compressed gzip size decreased to 10.6 kB.
  • Benchmark & Test Suite: Aligned benchmark suite methodology and verified across 426 unit/integration tests with full strict TypeScript compilation.