Closed Bug 1300727 Opened 9 years ago Closed 9 years ago

Avoid spreading trait errors if there are none

Categories

(L20n :: JS Library, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Assigned: stas)

Details

(Whiteboard: [gecko-l20n])

It looks like using destructing assignment can be costly if done in hot loops.
Assignee: nobody → stas
Morphing the bug into a simple optimization in entityFromContext.
Summary: Don't use array destructuring in hot loops → Avoid spreading trait errors if there are none
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.