style(player):future optimisation comments
This commit is contained in:
parent
2bcc1f3f1e
commit
a1d8848e01
1 changed files with 3 additions and 0 deletions
|
|
@ -302,6 +302,9 @@ export default class DOMManager extends ListWalker<Message> {
|
|||
}
|
||||
|
||||
moveReady(t: number): Promise<void> {
|
||||
// MBTODO (back jump optimisation):
|
||||
// - store intemediate virtual dom state
|
||||
// - cancel previous moveReady tasks (is it possible?) if new timestamp is less
|
||||
this.moveApply(t, this.applyMessage) // This function autoresets pointer if necessary (better name?)
|
||||
|
||||
this.vRoots.forEach(rt => rt.applyChanges()) // MBTODO (optimisation): affected set
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue