mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
add comment about optimization
This commit is contained in:
parent
75b5eb7d3f
commit
414503d63b
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ rpc.on('session add', data => {
|
|||
store_.dispatch(sessionActions.addSession(data));
|
||||
});
|
||||
|
||||
// we aggregate all the incoming pty events by raf
|
||||
// debouncing, to reduce allocation and iterations
|
||||
let req;
|
||||
let objects = {};
|
||||
rpc.on('session data', ({uid, data}) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue