{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhooku.hatenadiary.org%2Fentry%2F20121218%2F1355820355\" title=\"JavaScript(V8)\u3067\u907f\u3051\u308b\u3079\u304d(\u3060\u3063\u305f?)\u30af\u30ed\u30fc\u30b8\u30e3\u306e\u4f7f\u3044\u65b9 - kazuho\u306e\u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","categories":[],"title":"JavaScript(V8)\u3067\u907f\u3051\u308b\u3079\u304d(\u3060\u3063\u305f?)\u30af\u30ed\u30fc\u30b8\u30e3\u306e\u4f7f\u3044\u65b9","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_title":"kazuho\u306e\u30e1\u30e2\u7f6e\u304d\u5834","image_url":null,"author_name":"kazuhooku","author_url":"https://blog.hatena.ne.jp/kazuhooku/","url":"https://kazuhooku.hatenadiary.org/entry/20121218/1355820355","published":"2012-12-18 17:45:55","version":"1.0","height":"190","description":"Grokking V8 closures for fun (and profit?) \u306b\u3001\u307b\u3093\u306e\u5c11\u3057\u3060\u3051\u89e6\u308c\u3089\u308c\u3066\u3044\u308b\u8a71\u306a\u3093\u3067\u3059\u304c\u3002\u3054\u304f\u6700\u8fd1\u307e\u3067 V8 \u306b\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30ea\u30c6\u30e9\u30eb\u306e\u4e2d\u3067\u95a2\u6570\u30ea\u30c6\u30e9\u30eb\u3092\u4f7f\u3063\u305f\u5834\u5408\u306b\u975e\u5e38\u306b\u9045\u304f\u306a\u308b(\u3068\u3044\u3046\u304bGC\u304c\u591a\u767a\u3059\u308b)\u554f\u984c\u304c\u3042\u3063\u305f\u3002\u305f\u3068\u3048\u3070\u3001 function doit() { for (var i = 0; i < 1000; ++i) { for (var j = 0; j < 1000; ++j) { var o = { f: function () { return i + j; } }; } } } doit(); \u3068\u3044\u3046\u30b3\u30fc\u30c9\u3092 node-0.6.1\u2026","width":"100%","blog_url":"https://kazuhooku.hatenadiary.org/"}