stevehalliwell / ulox

A bytecode interpreted scripting language for games in Unity.
MIT License
24 stars 0 forks source link

Remove label op codes from VM #229

Closed stevehalliwell closed 9 months ago

stevehalliwell commented 9 months ago

Started by skipping to the packet after the label to reduce the no op at runtime. Optimiser removes them and adjacent zero jump gotos

close #198

github-actions[bot] commented 9 months ago

Coverage Status

coverage: 90.261% (+0.005%) from 90.256% when pulling 7cb032966d84590292ed28165b49eed729200c2f on skip-over-label-packet into 01954f84f8a2e73af732b735f080b8b181d8821c on main.