Closed stevehalliwell closed 1 year ago
Before:
After:
In unity: Before:
After:
It is noticeably slower, but marginally so.
Compiling code is considerably less complicated, and allows for registers to be used for local operations. Since the add is now add 0,0,0, which could become registered bytes.
What if we made all opcodes 32bits, no more no less, if you don't want the extra bytes, ok enjoy your zeros.
Should be easier to move through and rewrite and move around. Makes bytecode iteration trivial.