{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/3584","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/3584/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/3584/comments","events_url":"https://api.github.com/repos/babel/babel/issues/3584/events","html_url":"https://github.com/babel/babel/pull/3584","id":165992315,"number":3584,"title":"babel-generator: More refactoring and optimizations","user":{"login":"loganfsmyth","id":132260,"avatar_url":"https://avatars.githubusercontent.com/u/132260?v=3","gravatar_id":"","url":"https://api.github.com/users/loganfsmyth","html_url":"https://github.com/loganfsmyth","followers_url":"https://api.github.com/users/loganfsmyth/followers","following_url":"https://api.github.com/users/loganfsmyth/following{/other_user}","gists_url":"https://api.github.com/users/loganfsmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/loganfsmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganfsmyth/subscriptions","organizations_url":"https://api.github.com/users/loganfsmyth/orgs","repos_url":"https://api.github.com/users/loganfsmyth/repos","events_url":"https://api.github.com/users/loganfsmyth/events{/privacy}","received_events_url":"https://api.github.com/users/loganfsmyth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-17T19:46:23Z","updated_at":"2016-07-18T18:03:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/3584","html_url":"https://github.com/babel/babel/pull/3584","diff_url":"https://github.com/babel/babel/pull/3584.diff","patch_url":"https://github.com/babel/babel/pull/3584.patch"},"body":"Using the script from https://github.com/istanbuljs/babel-plugin-istanbul/issues/5#issuecomment-229248426 again. These optimizations mostly help for nicely-formatted code rather than compact code since the main optimizations were for newline calculation for `UserWhitespacable`, most of my other refactoring was more readability than perf changes.\r\n\r\nmaster:\r\n```\r\nItems: 2048 ,\ttime: 108 ,\tfilesize: 246542\r\nItems: 4096 ,\ttime: 255 ,\tfilesize: 496398\r\nItems: 8192 ,\ttime: 449 ,\tfilesize: 996110\r\nItems: 16384 ,\ttime: 955 ,\tfilesize: 2014687\r\nItems: 32768 ,\ttime: 1753 ,\tfilesize: 4062687\r\nItems: 65536 ,\ttime: 3519 ,\tfilesize: 8158687\r\nItems: 131072 ,\ttime: 7168 ,\tfilesize: 16443904\r\n```\r\n\r\nvs this branch:\r\n\r\n```\r\nItems: 2048 ,\ttime: 80 ,\tfilesize: 246542\r\nItems: 4096 ,\ttime: 184 ,\tfilesize: 496398\r\nItems: 8192 ,\ttime: 308 ,\tfilesize: 996110\r\nItems: 16384 ,\ttime: 696 ,\tfilesize: 2014687\r\nItems: 32768 ,\ttime: 1238 ,\tfilesize: 4062687\r\nItems: 65536 ,\ttime: 2459 ,\tfilesize: 8158687\r\nItems: 131072 ,\ttime: 5170 ,\tfilesize: 16443904\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/233408556","html_url":"https://github.com/babel/babel/pull/3584#issuecomment-233408556","issue_url":"https://api.github.com/repos/babel/babel/issues/3584","id":233408556,"user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T18:03:39Z","updated_at":"2016-07-18T18:03:39Z","body":"👍 "}}
{"actor":{"display_login":"hzoo"}}