{"comment":{"url":"https://api.github.com/repos/nathan-muir/meteor/comments/29489475","html_url":"https://github.com/nathan-muir/meteor/commit/d511e551df1c22d7687056a7fd8cb41a8a995e6b#commitcomment-29489475","id":29489475,"node_id":"MDEzOkNvbW1pdENvbW1lbnQyOTQ4OTQ3NQ==","user":{"login":"gaurav-","id":644443,"node_id":"MDQ6VXNlcjY0NDQ0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/644443?v=4","gravatar_id":"","url":"https://api.github.com/users/gaurav-","html_url":"https://github.com/gaurav-","followers_url":"https://api.github.com/users/gaurav-/followers","following_url":"https://api.github.com/users/gaurav-/following{/other_user}","gists_url":"https://api.github.com/users/gaurav-/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurav-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurav-/subscriptions","organizations_url":"https://api.github.com/users/gaurav-/orgs","repos_url":"https://api.github.com/users/gaurav-/repos","events_url":"https://api.github.com/users/gaurav-/events{/privacy}","received_events_url":"https://api.github.com/users/gaurav-/received_events","type":"User","site_admin":false},"position":10,"line":247,"path":"packages/diff-sequence/diff.js","commit_id":"d511e551df1c22d7687056a7fd8cb41a8a995e6b","created_at":"2018-06-25T19:06:13Z","updated_at":"2018-06-25T19:06:13Z","author_association":"NONE","body":"Hmm, can reduce lookups even further with this:\r\n```js\r\nif (callbacks.both) {\r\n  const rightValue = right.get(key);\r\n  if (rightValue) {\r\n    callbacks.both(key, leftValue, rightValue);\r\n  }\r\n} else if (callbacks.leftOnly) {\r\n  callbacks.leftOnly(key, leftValue);\r\n}\r\n```\r\nThese micro-optimizations might make significant difference as the server becomes more busy with subscriptions"}}
{"actor":{"display_login":"gaurav-"}}