mirror of
https://github.com/godotengine/godot.git
synced 2026-03-10 21:06:13 +00:00
Use computed goto to dispatch next opcode
On compulers that define __GNUC__ use computed goto to directly dispatch the next instruction rather than going through another switch statement. This saves a jump and some comparisons. In tight loops this is is roughly 10% faster than the switch() method.
This commit is contained in: