godot/modules/gdscript
Hein-Pieter van Braam 22358babda Implement Linux-style likely()/unlikely() macros
This implement branch prediction macros likely() and unlikely() like in
Linux. When using these macros please ensure that when you use them the
condition in the branch really is very, very likely or unlikely. Think
90+% of the time. Primarily useful for error checking. (And I implement
these macros for all our error checking macros now)

See this article for more information:
https://kernelnewbies.org/FAQ/LikelyUnlikely

There are more places where these macros may make sense in renderer and
physics engine. Placing them will come in another commit down the line.
2017-09-21 18:28:28 +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 Implement Linux-style likely()/unlikely() macros 2017-09-21 18:28:28 +02: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