{"comment":{"url":"https://api.github.com/repos/Gamua/Starling-Framework/comments/16141725","html_url":"https://github.com/Gamua/Starling-Framework/commit/86da99c31c52b4f15db47ad62459edd93ca9d556#commitcomment-16141725","id":16141725,"user":{"login":"b005t3r","id":757150,"avatar_url":"https://avatars.githubusercontent.com/u/757150?v=3","gravatar_id":"","url":"https://api.github.com/users/b005t3r","html_url":"https://github.com/b005t3r","followers_url":"https://api.github.com/users/b005t3r/followers","following_url":"https://api.github.com/users/b005t3r/following{/other_user}","gists_url":"https://api.github.com/users/b005t3r/gists{/gist_id}","starred_url":"https://api.github.com/users/b005t3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b005t3r/subscriptions","organizations_url":"https://api.github.com/users/b005t3r/orgs","repos_url":"https://api.github.com/users/b005t3r/repos","events_url":"https://api.github.com/users/b005t3r/events{/privacy}","received_events_url":"https://api.github.com/users/b005t3r/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"86da99c31c52b4f15db47ad62459edd93ca9d556","created_at":"2016-02-17T09:45:45Z","updated_at":"2016-02-17T09:45:45Z","body":"I think the point is calling ```listeners[i]``` once instead of twice. But i searched through the file and found three ```push()``` calls which could also be optimized with ```listeners[listeners.length] = ...```."}}