Closed
Bug 580036
Opened 14 years ago
Closed 14 years ago
JM: PIC for arguments.length
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: dmandelin, Unassigned)
References
Details
See earley-boyer line 4185:
function sc_list() {
var res = null;
var a = arguments;
for (var i = a.length-1; i >= 0; i--) // a.length gets PIC misses
res = new sc_Pair(a[i], res);
return res;
}
Probably only a small speedup, but we will want it.
this is a quickie so taking. looks like ~5% win on earley-boyer.
http://hg.mozilla.org/users/danderson_mozilla.com/moo/rev/5408e0e3863b
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•