{"height":"190","author_name":"mizchi","title":"\u300cCoffeeScript\u306e\u95a2\u6570\u306f\u660e\u793a\u7684\u306breturn\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u7406\u7531\u300d\u3092\u63a2\u3059\u6687\u3042\u3063\u305f\u3089\u4ed6\u306b\u3084\u308b\u3079\u304d\u3053\u3068\u3042\u308b\u306e\u3067\u306f\uff1f","version":"1.0","url":"https://mizchi.hatenablog.com/entry/2013/12/16/184306","type":"rich","published":"2013-12-16 18:43:06","provider_url":"https://hatena.blog","width":"100%","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmizchi.hatenablog.com%2Fentry%2F2013%2F12%2F16%2F184306\" title=\"\u300cCoffeeScript\u306e\u95a2\u6570\u306f\u660e\u793a\u7684\u306breturn\u3057\u3066\u306f\u3044\u3051\u306a\u3044\u7406\u7531\u300d\u3092\u63a2\u3059\u6687\u3042\u3063\u305f\u3089\u4ed6\u306b\u3084\u308b\u3079\u304d\u3053\u3068\u3042\u308b\u306e\u3067\u306f\uff1f - mizchi&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"CoffeeScript\u306e\u95a2\u6570\u306f\u660e\u793a\u7684\u306breturn\u3059\u308b\u3079\u304d | CreativeStyle \u672c\u5f53\u306b\u9045\u3044\u306e\u304b\u3001\u305d\u308c\u3092\u78ba\u304b\u3081\u307e\u3057\u3087\u3046\u3002 \u9069\u5f53\u306b\u3067\u3063\u3061\u3042\u3052\u305f\u30b3\u30fc\u30c9\u3067\u3059 f1 = -> for i in [1, 2, 3] for j in [4, 5, 6] i + j f2 = -> for i in [1, 2, 3] for j in [4, 5, 6] i + j return console.time \"f1\" for i in [1..100000] then f1() console.timeEnd \"f1\" console.time \"f2\" for i in [1..100000\u2026","provider_name":"Hatena Blog","blog_title":"mizchi's blog","blog_url":"https://mizchi.hatenablog.com/","image_url":null,"author_url":"https://blog.hatena.ne.jp/mizchi/"}