godot/modules/gdscript
eldidou 0d77c3e092 Speed up GDScript::get_must_clear_dependencies()
get_must_clear_dependencies() has a N^3*log(N) time complexity, and this can very quickly slow down the quitting process as more gdscripts are added in a project.
This change improves it to N^2*log(N).
Instead of using all the inverted dependencies, we do the same with all (non-inverted) dependencies, which is N times faster.

Fixes #85435
2023-12-09 13:02:38 +01:00
..
doc_classes GDScript: Add error when exporting node in non [Node]-derived classes 2023-10-05 13:50:26 +03:00
editor Change container_element_type to vector container 2023-12-05 08:51:49 -06:00
icons
language_server Fix external editor hot reload 2023-10-07 22:14:54 -04:00
tests Correctly check scripts that must inherit EditorPlugin 2023-11-23 16:24:43 +01:00
.editorconfig
config.py
gdscript_analyzer.cpp Change container_element_type to vector container 2023-12-05 08:51:49 -06:00
gdscript_analyzer.h
gdscript_byte_codegen.cpp Change container_element_type to vector container 2023-12-05 08:51:49 -06:00
gdscript_byte_codegen.h GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_cache.cpp Merge pull request #83039 from KoBeWi/it's_always_the_cache 2023-11-10 10:44:33 +01:00
gdscript_cache.h
gdscript_codegen.h GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_compiler.cpp Change container_element_type to vector container 2023-12-05 08:51:49 -06:00
gdscript_compiler.h GDScript: Lambda hot reloading 2023-10-17 15:52:52 -04:00
gdscript_disassembler.cpp GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -03:00
gdscript_editor.cpp Merge pull request #85196 from HolonProduction/completion-filter-groups 2023-12-05 13:05:18 +01:00
gdscript_function.cpp Fix expected argument count for Callable call errors 2023-09-29 20:00:10 +03:00
gdscript_function.h Change container_element_type to vector container 2023-12-05 08:51:49 -06:00
gdscript_lambda_callable.cpp Revert recently added approach to cross-thread lambda survival 2023-11-22 20:07:01 +01:00
gdscript_lambda_callable.h Revert recently added approach to cross-thread lambda survival 2023-11-22 20:07:01 +01:00
gdscript_parser.cpp Change container_element_type to vector container 2023-12-05 08:51:49 -06:00
gdscript_parser.h Change container_element_type to vector container 2023-12-05 08:51:49 -06:00
gdscript_rpc_callable.cpp GDScript: Lambda hot reloading 2023-10-17 15:52:52 -04:00
gdscript_rpc_callable.h
gdscript_tokenizer.cpp
gdscript_tokenizer.h Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
gdscript_utility_functions.cpp GDScript: Fix incorrect error message for utility functions 2023-10-16 14:09:57 +03:00
gdscript_utility_functions.h
gdscript_vm.cpp Change container_element_type to vector container 2023-12-05 08:51:49 -06:00
gdscript_warning.cpp GDScript: Fix UNSAFE_CALL_ARGUMENT warning for Variant constructors 2023-09-30 13:57:09 +03:00
gdscript_warning.h
gdscript.cpp Speed up GDScript::get_must_clear_dependencies() 2023-12-09 13:02:38 +01:00
gdscript.h Speed up GDScript::get_must_clear_dependencies() 2023-12-09 13:02:38 +01:00
register_types.cpp
register_types.h
SCsub SCons: Fix build with GDScript LSP disabled 2023-10-30 15:28:34 +01:00