Closed
Bug 1300727
Opened 8 years ago
Closed 8 years ago
Avoid spreading trait errors if there are none
Categories
(L20n :: JS Library, defect)
L20n
JS Library
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 | ||
Updated•8 years ago
|
Assignee: nobody → stas
Assignee | ||
Comment 1•8 years ago
|
||
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
Assignee | ||
Comment 2•8 years ago
|
||
https://hg.mozilla.org/projects/larch/rev/74b1a3e5535e76b78d19803d0b2e671a4dce49d9 Bug 1300727 - Avoid spreading trait errors if there are none
Assignee | ||
Comment 3•8 years ago
|
||
https://github.com/l20n/l20n.js/commit/5ca5181575698384d1708081c1333a60b982b3f6
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•