On Mon, Dec 9, 2013 at 8:33 PM, Tyler Romeo tylerromeo@gmail.com wrote:
On Mon, Dec 9, 2013 at 2:15 PM, Gabriel Wicke gwicke@wikimedia.org wrote:
Are you sure this is still the case? https://code.google.com/p/v8/issues/detail?id=2315 seems to suggest that this was fixed in V8 last year.
Not sure if it's related, but looking at the bleeding edge compiler.cc code directly, it explicitly turns off optimizations inside the eval compiler. [0]
Interesting! I see the logic in eschewing eval in favor of Function, because the latter does not create a closure. I hadn't thought of that. It's definitely worth a shot. Let's run another short experiment to compare the two.
--- Ori Livneh ori@wikimedia.org