Hein-Pieter van Braam 938cc63cfa Move Variant::evaluate() switch to computed goto
In an effort to make GDScript a little faster replace the double
switch() with a computed goto on compilers that set __GNUC__. For
compilers that don't support computed goto it will fall back to regular
switch/case statements.

In addition disable using boolean values in a mathematical context. Now
boolean values can only be compared with other booleans. Booleans will
also no longer be coerced to integers.

This PR replaces #11308 and fixes #11291
2017-09-17 22:49:23 +02:00
2017-09-01 21:07:55 +07:00
Description
VisualScript as a Godot Engine c++ module
7.1 MiB
Languages
C++ 99.3%
C 0.4%
Python 0.3%