Bug 126922

Summary: 'index in array' needs to be fast
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Oliver Hunt 2014-01-13 11:33:43 PST
A lot of array functions take the form of 

...
var length = foo.length;
for (var i = 0;  i < length; i++) {
    if (!(i in foo) continue
    ...
}