dplassgit / d2lang

D2 is a strongly-typed, statically-typed, (mostly) inferred-type compiled language.
MIT License
6 stars 0 forks source link

Defer the NPE and Index checks #350

Closed dplassgit closed 4 weeks ago

dplassgit commented 1 month ago
  1. Run ILCodeGenerator without NPE and index checks
  2. Optimize IL
  3. Add NPE and index checks to the IL for array get/set, range get, string get, string slice, string add, record field get & set
  4. Optimize IL