Closed
Bug 363557
Opened 18 years ago
Closed 18 years ago
Optimize dynamic slot allocation
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: igor, Assigned: igor)
References
Details
The changes from bug 331966 slits object's slots into fixed array allocated together with the object and a dynamic vector that grows as necessary. The growth is done by factor 1.5 as was before the introduction of fat objects. But that is suboptimal especially in the view of malloc implementations that use power-of-2 buckets for small objects.
Thus the idea is to ensure during slot growth that the dynamic slots capacity is power-of-2.
Comment 1•18 years ago
|
||
Is this fixed by the long-ago landing of bug 363603?
| Assignee | ||
Comment 2•18 years ago
|
||
Fixed by bug 363603.
Updated•17 years ago
|
Flags: in-testsuite-
Flags: in-litmus-
You need to log in
before you can comment on or make changes to this bug.
Description
•