Updates:
        Status: Accepted
        Owner: ---
        Cc: [email protected]

Comment #3 on issue 2206 by [email protected]: Checking SharedFunctionInfo identity instead of closure identity for inlining
http://code.google.com/p/v8/issues/detail?id=2206

Additional piece of information: microbenchmarks suggest that SpiderMonkey gets this right

function benchmark() {
  function fn(a, b, c, d) {
    return a + b + c + d;
  }

  var start = new Date;
  for (var n = 0; n < 1e6; n++) {
    fn('a', 'b', 'c', 'd');
  }
  return (new Date - start);
}

console.log(benchmark());
console.log(benchmark());

would log 2 and 32 for V8 (Chrome) and 2, 1 for SM (Firefox)

--
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/groups/opt_out.

Reply via email to