edc85d22fc
Calling queue_free() for large numbers of siblings could previously be very slow, with the time taken rising exponentially with number of children. This looked partly due to ordered_remove from the child list and notifications. This PR identifies objects that are nodes, and sorts the deletion queue so that children are deleted in reverse child order. This minimizes the costs of reordering. |
||
---|---|---|
.. | ||
canvas_layer.cpp | ||
canvas_layer.h | ||
http_request.cpp | ||
http_request.h | ||
instance_placeholder.cpp | ||
instance_placeholder.h | ||
node.cpp | ||
node.h | ||
resource_preloader.cpp | ||
resource_preloader.h | ||
scene_tree.cpp | ||
scene_tree.h | ||
SCsub | ||
timer.cpp | ||
timer.h | ||
viewport.cpp | ||
viewport.h |