summaryrefslogtreecommitdiff
path: root/scene/gui/SCsub
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-09-23 20:06:58 +0200
committerHein-Pieter van Braam <hp@tmm.cx>2017-09-25 18:29:13 +0200
commit520d84e042bcc5d211950022abb40ff7cc90b15b (patch)
treee09f3cccfe7daa865d096ce0bb7c6812c7138997 /scene/gui/SCsub
parent1f4685375f2d2e36a2e19e67ac9f614b8c99ea28 (diff)
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.
Diffstat (limited to 'scene/gui/SCsub')
0 files changed, 0 insertions, 0 deletions