Skip to content

Commit

Permalink
Optimizations for GDScript VM
Browse files Browse the repository at this point in the history
* Removed instruction argument count and instruction prefetching. This is now done on the fly. Reduces jumps.
* OPCODE_DISPATCH now goes directly to the next instruction, like in Godot 3.x.

I have nothing I can use to test performance, so if anyone wants to lend a hand and compare with master (both on debug and release), it would be very welcome.
  • Loading branch information
reduz committed Jan 2, 2023
1 parent 5726770 commit 7211e04
Show file tree
Hide file tree
Showing 5 changed files with 405 additions and 360 deletions.
Loading

0 comments on commit 7211e04

Please sign in to comment.