{"action":"created","issue":{"url":"https://api.github.com/repos/ecomfe/spec/issues/24","labels_url":"https://api.github.com/repos/ecomfe/spec/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/spec/issues/24/comments","events_url":"https://api.github.com/repos/ecomfe/spec/issues/24/events","html_url":"https://github.com/ecomfe/spec/issues/24","id":116122076,"number":24,"title":"[esnext] 不赞同“[建议] 使用 loose 生成更小、性能更高的代码”","user":{"login":"hax","id":159840,"avatar_url":"https://avatars.githubusercontent.com/u/159840?v=3","gravatar_id":"","url":"https://api.github.com/users/hax","html_url":"https://github.com/hax","followers_url":"https://api.github.com/users/hax/followers","following_url":"https://api.github.com/users/hax/following{/other_user}","gists_url":"https://api.github.com/users/hax/gists{/gist_id}","starred_url":"https://api.github.com/users/hax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hax/subscriptions","organizations_url":"https://api.github.com/users/hax/orgs","repos_url":"https://api.github.com/users/hax/repos","events_url":"https://api.github.com/users/hax/events{/privacy}","received_events_url":"https://api.github.com/users/hax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T14:54:48Z","updated_at":"2015-11-10T15:49:58Z","closed_at":null,"body":"相反，我认为如果没有benchmark证明产生了显著性能差异，应该避免用loose。"},"comment":{"url":"https://api.github.com/repos/ecomfe/spec/issues/comments/155459750","html_url":"https://github.com/ecomfe/spec/issues/24#issuecomment-155459750","issue_url":"https://api.github.com/repos/ecomfe/spec/issues/24","id":155459750,"user":{"login":"sodatea","id":3277634,"avatar_url":"https://avatars.githubusercontent.com/u/3277634?v=3","gravatar_id":"","url":"https://api.github.com/users/sodatea","html_url":"https://github.com/sodatea","followers_url":"https://api.github.com/users/sodatea/followers","following_url":"https://api.github.com/users/sodatea/following{/other_user}","gists_url":"https://api.github.com/users/sodatea/gists{/gist_id}","starred_url":"https://api.github.com/users/sodatea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sodatea/subscriptions","organizations_url":"https://api.github.com/users/sodatea/orgs","repos_url":"https://api.github.com/users/sodatea/repos","events_url":"https://api.github.com/users/sodatea/events{/privacy}","received_events_url":"https://api.github.com/users/sodatea/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T15:49:58Z","updated_at":"2015-11-10T15:49:58Z","body":"支持 loose mode 的 transformer 也没几个……如果仔细看过文档的话，避开这些坑也不难。\r\n\r\n不过根据 [Six Speed](https://kpdecker.github.io/six-speed/)，loose mode 下有显著性能差异的 ES6 特性只有 for-of-array、super 和 tagged template string 这几个。\r\n所以我觉得更好的做法是，等 babel 6 稳定下来后，单独针对某个 transformer 配置 loose mode。"}}