summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2023-04-03 22:31:47 +0200
committerJuan Linietsky <reduzio@gmail.com>2023-04-08 10:54:28 +0200
commitab5fc22f67a19eee27f2a6dbdde903aa3b6e4ef8 (patch)
tree420691f2ce938dcf3bb8030301a1c58eb7474d1e /editor/code_editor.cpp
parentc151d3231f8e5d207f64055c60c70967dd5351b5 (diff)
downloadredot-engine-ab5fc22f67a19eee27f2a6dbdde903aa3b6e4ef8.tar.gz
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.
Diffstat (limited to 'editor/code_editor.cpp')
0 files changed, 0 insertions, 0 deletions