godot/modules/gdscript
Hein-Pieter van Braam 137f8a58a8 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
..
config.py style: Fix PEP8 blank lines issues in Python files 2016-11-01 00:35:16 +01:00
gd_compiler.cpp Move Variant::evaluate() switch to computed goto 2017-09-17 22:49:23 +02:00
gd_compiler.h Dead code tells no tales 2017-08-27 22:13:45 +02:00
gd_editor.cpp Move Variant::evaluate() switch to computed goto 2017-09-17 22:49:23 +02:00
gd_function.cpp Fix typos 'a' and 'an' 2017-09-02 21:19:06 +07:00
gd_function.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
gd_functions.cpp Changed/Added descriptions in @GDScript. Added examples. Fixed return types of two … (#11146) 2017-09-12 15:00:29 +02:00
gd_functions.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
gd_parser.cpp Move Variant::evaluate() switch to computed goto 2017-09-17 22:49:23 +02:00
gd_parser.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
gd_script.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
gd_script.h Fixes language overridden external editors 2017-09-03 21:23:36 +02:00
gd_tokenizer.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
gd_tokenizer.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
register_types.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
register_types.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
SCsub SCsub: Add python shebang as a hint for syntax highlighting 2016-10-17 20:10:46 +02:00