mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 04:51:47 +00:00
RbxTree robustness
* delete_instance is no longer O(n) * renamed get_instance to get_instance_and_descendants, which is more accurate
This commit is contained in:
parent
e1c420d37d
commit
20c9c89b27
2 changed files with 14 additions and 9 deletions
|
|
@ -187,7 +187,7 @@ impl Server {
|
|||
let mut instances = HashMap::new();
|
||||
|
||||
for requested_id in &requested_ids {
|
||||
rbx_session.tree.get_instance(*requested_id, &mut instances);
|
||||
rbx_session.tree.get_instance_and_descendants(*requested_id, &mut instances);
|
||||
}
|
||||
|
||||
Response::json(&ReadResponse {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue