behaviour-tree-test/modules/gdscript
George Marques c1bca65d09
GDScript: Optimize operators by assuming the types
This assumes that operators are called usually with the same type of
operands as the first time. So it stores the types of the first run and
if matched it uses an optimized path by calling the validated operator
function directly. Otherwise it uses the regular untyped evaluator.

With this change, if operators do use the same type they run quite
faster. OTOH, if the types mismatch it takes longer to run than they
would with the previous code.
2023-07-28 13:08:21 -03:00
..
doc_classes Doctool: Remove version attribute from XML header 2023-07-06 10:08:21 +02:00
editor Fix regression with enum descriptions now showing up in documentation. 2023-07-02 11:29:52 -04:00
icons
language_server Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
tests Fix for not being able to ignore shadowing warnings on class scope 2023-07-24 17:22:12 -03:00
config.py [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
gdscript.cpp GDScript: solve _populate_class_members() cyclic dependency problem 2023-07-08 15:34:20 -04:00
gdscript.h GDScript: Fix _get_script_name() function collision for SCU build 2023-06-20 12:03:54 +03:00
gdscript_analyzer.cpp Merge pull request #75620 from jpcerrone/fix_shadow_warnings_not_going_away_after_ignoring 2023-07-25 21:25:45 +02:00
gdscript_analyzer.h Merge pull request #75620 from jpcerrone/fix_shadow_warnings_not_going_away_after_ignoring 2023-07-25 21:25:45 +02:00
gdscript_byte_codegen.cpp GDScript: Optimize operators by assuming the types 2023-07-28 13:08:21 -03:00
gdscript_byte_codegen.h GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
gdscript_cache.cpp GDScript: Add static analysis error reporting in GDScriptCache::get_full_script() 2023-07-07 11:16:22 -04:00
gdscript_cache.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
gdscript_codegen.h GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
gdscript_compiler.cpp GDScript: solve _populate_class_members() cyclic dependency problem 2023-07-08 15:34:20 -04:00
gdscript_compiler.h Merge pull request #77744 from dalexeev/gds-reset-block-locals-on-exit 2023-06-21 21:51:05 +02:00
gdscript_disassembler.cpp GDScript: Optimize operators by assuming the types 2023-07-28 13:08:21 -03:00
gdscript_editor.cpp Merge pull request #75216 from rune-scape/rune-dependancy-errors 2023-07-24 19:32:20 +02:00
gdscript_function.cpp Merge pull request #65910 from KoBeWi/gdsus 2023-02-03 16:13:06 +01:00
gdscript_function.h GDScript: Optimize operators by assuming the types 2023-07-28 13:08:21 -03:00
gdscript_lambda_callable.cpp Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
gdscript_lambda_callable.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_parser.cpp Fix for not being able to ignore shadowing warnings on class scope 2023-07-24 17:22:12 -03:00
gdscript_parser.h Merge pull request #77744 from dalexeev/gds-reset-block-locals-on-exit 2023-06-21 21:51:05 +02:00
gdscript_rpc_callable.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_rpc_callable.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_tokenizer.cpp Merge pull request #72824 from dalexeev/gds-invalid-char-error 2023-06-19 15:39:58 +02:00
gdscript_tokenizer.h GDScript: Fix MIN_INT not representable as numeric literal 2023-02-15 17:41:46 +03:00
gdscript_utility_functions.cpp Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
gdscript_utility_functions.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_vm.cpp GDScript: Optimize operators by assuming the types 2023-07-28 13:08:21 -03:00
gdscript_warning.cpp GDScript: Reorganize and unify warnings 2023-04-28 18:25:11 +03:00
gdscript_warning.h GDScript: Reorganize and unify warnings 2023-04-28 18:25:11 +03:00
register_types.cpp Re-architect how Android plugins are packaged and handled at export time 2023-07-18 19:14:53 +02:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00