virtualx-engine/scene/main
Juan Linietsky ab5fc22f67 Optimize Node children management
* Adding and removing child nodes is now constant time, speed up should be huge.
* Searching for node paths as in ("path/to/node") should be far faster too.

This changes the children management and makes it a hashmap, optimizing most StringName based operations.
Most operations should be severe speed up without breaking compatibility.

This should fix many issues regarding to node access performance, and may also speed up editor start/end, but benchmarks are needed. So if you want to test, please make some benchmarks!

Further performance improvements will be done in the future by removing NOTIFICATION_MOVED_IN_PARENT and replacing by something less laborious.
2023-04-08 10:54:28 +02:00
..
canvas_item.cpp Remove NOTIFICATION_MOVED_IN_PARENT 2023-04-06 13:57:13 +02:00
canvas_item.h Remove NOTIFICATION_MOVED_IN_PARENT 2023-04-06 13:57:13 +02:00
canvas_layer.cpp Remove NOTIFICATION_MOVED_IN_PARENT 2023-04-06 13:57:13 +02:00
canvas_layer.h Remove NOTIFICATION_MOVED_IN_PARENT 2023-04-06 13:57:13 +02:00
http_request.cpp
http_request.h
instance_placeholder.cpp
instance_placeholder.h
missing_node.cpp
missing_node.h
multiplayer_api.cpp
multiplayer_api.h
multiplayer_peer.cpp
multiplayer_peer.h
node.cpp Optimize Node children management 2023-04-08 10:54:28 +02:00
node.h Optimize Node children management 2023-04-08 10:54:28 +02:00
resource_preloader.cpp
resource_preloader.h
scene_tree.cpp
scene_tree.h
SCsub
shader_globals_override.cpp
shader_globals_override.h
timer.cpp Fix auto-translations in editor 2023-03-22 23:57:12 +01:00
timer.h
viewport.cpp Remove NOTIFICATION_MOVED_IN_PARENT 2023-04-06 13:57:13 +02:00
viewport.h Remove NOTIFICATION_MOVED_IN_PARENT 2023-04-06 13:57:13 +02:00
window.cpp Add a warning when trying to access theme items too early 2023-04-03 18:01:10 +02:00
window.h Add a warning when trying to access theme items too early 2023-04-03 18:01:10 +02:00