Thursday, December 19, 2013

Dear V8 engineers:

Dear V8 engineers:
What are the current rules that enable V8 to lazily parse a function?
Concretely speaking, in:

var foo = {
  bar: function() { … super long body… }

Can I expect initial parsing the function to be very fast and actual parsing of the body to be delayed until is called?