Closed
Bug 443599
Opened 16 years ago
Closed 12 years ago
SM: Eliminate iterator object for non-escaping native enumerators
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: igor, Assigned: igor)
Details
(Keywords: perf)
+++ This bug was initially created as a clone of Bug #417131 +++ Currently to implement the for-in loop SM always creates an iterator object for native enumerators. It would be nice to optimize away such object as the script has no access to it and it serves purely as a storage for the enumerator state and extra flags. The idea is to use stack slots to store all the necessary information instead of creating such object, see bug 417131 comment 14 for a prototype of such implementation.
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•