Status: Available
Owner: ----
CC: [email protected],  [email protected],  [email protected]
Labels: Type-Bug Priority-Medium Area-Language Harmony

New issue 4407 by [email protected]: Destructuring artificially inflates materialized literal count
https://code.google.com/p/v8/issues/detail?id=4407

For example, this function:

function foo(a) {
  var {b} = a;
  return b;
}

will have a materialized literal count of 1. Same thing happens with destructuring in parameter lists:

({a: foo}) => a;

has a count of 1.

I don't believe either of these cause any behavioral problems, but they inflate the memory requirements of JSFunctions representing such functions.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to