{"action":"opened","issue":{"url":"https://api.github.com/repos/trueadm/inferno/issues/223","repository_url":"https://api.github.com/repos/trueadm/inferno","labels_url":"https://api.github.com/repos/trueadm/inferno/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/trueadm/inferno/issues/223/comments","events_url":"https://api.github.com/repos/trueadm/inferno/issues/223/events","html_url":"https://github.com/trueadm/inferno/issues/223","id":158522996,"number":223,"title":"Potential performance improvement","user":{"login":"devanp92","id":4533277,"avatar_url":"https://avatars.githubusercontent.com/u/4533277?v=3","gravatar_id":"","url":"https://api.github.com/users/devanp92","html_url":"https://github.com/devanp92","followers_url":"https://api.github.com/users/devanp92/followers","following_url":"https://api.github.com/users/devanp92/following{/other_user}","gists_url":"https://api.github.com/users/devanp92/gists{/gist_id}","starred_url":"https://api.github.com/users/devanp92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devanp92/subscriptions","organizations_url":"https://api.github.com/users/devanp92/orgs","repos_url":"https://api.github.com/users/devanp92/repos","events_url":"https://api.github.com/users/devanp92/events{/privacy}","received_events_url":"https://api.github.com/users/devanp92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-04T20:39:38Z","updated_at":"2016-06-04T20:39:38Z","closed_at":null,"body":"In [rendering.js](https://github.com/trueadm/inferno/blob/master/src/DOM/rendering.js#L9) each for-loop can be optimized by first caching the length of the array. Unfortunately, jsPerf is down, but [this article](http://www.2ality.com/2013/07/for-loop-performance.html) might provide insight.\r\n\r\n```\r\nfor (var i = 0, length = arr.length; i < length; i++) {...}\r\n```"}}
{"actor":{"display_login":"devanp92"}}