1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #79990 from vnen/gdscript-assume-op-types

GDScript: Optimize operators by assuming the types
This commit is contained in:
Yuri Sizov
2023-08-01 17:25:52 +02:00
4 changed files with 78 additions and 21 deletions

View File

@@ -473,7 +473,7 @@ private:
MethodBind **_methods_ptr = nullptr;
int _lambdas_count = 0;
GDScriptFunction **_lambdas_ptr = nullptr;
const int *_code_ptr = nullptr;
int *_code_ptr = nullptr;
int _code_size = 0;
int _argument_count = 0;
int _stack_size = 0;