Open Bug 780787 Opened 9 years ago Updated 7 years ago

IonMonkey: hoist [[HasProperty]] from loops over dense arrays

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: till, Unassigned)

Details

(Whiteboard: [js:t][ion:t])

In bug 462300 comment 92, dmandelin proposed hoisting [[HasProperty]] checks from array loops.

In JM, this would reduce the overhead of Array#forEach (and probably all other array extras containing the same core loop) by about 10% to 15%. I don't know how much the same optimization would gain us in IonMonkey.
Whiteboard: [js:t] → [js:t][ion:t]
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.