zware icon indicating copy to clipboard operation
zware copied to clipboard

Optimisation (execution)

Open malcolmstill opened this issue 3 years ago • 0 comments

  • [x] https://github.com/malcolmstill/foxwren/pull/84
  • [x] https://github.com/malcolmstill/foxwren/pull/120
  • [x] Fast if https://github.com/malcolmstill/foxwren/pull/132
    • Provide a faster if instruction for if blocks that have no else branch
  • [x] Function-level stack overflow checking https://github.com/malcolmstill/foxwren/issues/130 https://github.com/malcolmstill/foxwren/pull/133
  • [x] Reduce size of Instruction (replace usize with u32)? https://github.com/malcolmstill/foxwren/pull/134
  • [ ] Fast call
    • Provide a faster call instruction for functions internal to a module
  • [ ] Split out opcode from meta (for better cache packing)?
    • Only push metadata for instructions that have non-void metadata (better packing). Separate array for for index into the metadata array
  • [ ] Dispatch with function pointers rather than lookup table

malcolmstill avatar Nov 14 '21 17:11 malcolmstill