You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Improve Tree performance
Added TreeItem::last_child to avoid needing to iterate through all children to get to the end. This mainly helps in cases where one TreeItem has many children (1000s), and new children are added to the end, as each add had to iterate through all previously added children.
This commit is contained in:
@@ -133,6 +133,7 @@
|
||||
#include "tests/scene/test_color_picker.h"
|
||||
#include "tests/scene/test_graph_node.h"
|
||||
#include "tests/scene/test_text_edit.h"
|
||||
#include "tests/scene/test_tree.h"
|
||||
#endif // ADVANCED_GUI_DISABLED
|
||||
|
||||
#ifndef _3D_DISABLED
|
||||
|
||||
Reference in New Issue
Block a user