DKHAAAM55KXH7CZ2F2PGRHAXKY32QKN6VJDZY2USQNP5QVL6JOZAC
FPECYSD5K4I23LPBSJW2AOILTFLJE55HQ34FMK6CKTBUOFBUL6XAC
BGASX3JPOPME4PSC34CHD5VLBZAQMXIAPZQ4DKCWZGEASXCKGW3AC
3UFL673QX2JG7KHTAM7DFH4BBYVHDNMXBS2RW45G3JBNFZFLSRRQC
DDJJXZKSQLXUXIMLKMKHY75JKC2IRA2A7SEVSUNL5FSCFH77T4IAC
PWXZFCENNLWYEKNPRXSV3FC7VSARURBC6JECKGJCCZC6YP3PN2DQC
console.log({ batchSize: batch.length });
// console.log({ batchSize: batch.length });
console.log({ fired: batch.length });
// console.log({ fired: batch.length });
console.log('chunk component upsert children'); // .clone() is SLOW!!! for now, let's not track children to delete // let childrenToDelete = new KeyedHashMap<PointNodeRef, PointNodeComponent>();
console.log('chunk component upsert children');
// .clone() is SLOW!!! for now, let's not track children to delete
// let childrenToDelete = new KeyedHashMap<PointNodeRef, PointNodeComponent>();
} for (let [childKey, childComponent] of childrenToDelete.entries()) { childComponent.willUnmount(); this.children.remove(childKey); this.container.removeChild(childComponent.container);
}
for (let [childKey, childComponent] of childrenToDelete.entries()) {
childComponent.willUnmount();
this.children.remove(childKey);
this.container.removeChild(childComponent.container);
// for (let [childKey, childComponent] of childrenToDelete.entries()) { // console.log('chunk component todelete iteration'); // childComponent.willUnmount(); // this.children.remove(childKey); // this.container.removeChild(childComponent.container); // }
// for (let [childKey, childComponent] of childrenToDelete.entries()) {
// console.log('chunk component todelete iteration');
// childComponent.willUnmount();
// this.children.remove(childKey);
// this.container.removeChild(childComponent.container);
// }
// console.log(`i have ${this.children.size()} children`)
console.log(`zlevel component have ${this.children.size()} children`)
console.log(`zlevel component have ${childrenToDelete.size()} children to delete`)