Closed
Bug 1245025
Opened 8 years ago
Closed 2 years ago
Nursery allocate short life span RegExp object.
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1368461
Tracking | Status | |
---|---|---|
firefox47 | --- | affected |
People
(Reporter: arai, Unassigned)
References
Details
Derived from bug 887016. Currently RegExp object can only be allocated with NewObjectKind==TenuredObject. Allocating short life span RegExp object in Nursery will improve performance. in bug 887016's patch, it improves 10% when calling String.prototype.match/search with pattern string with meta char (like str.match("a+")), that allocates temporary RegExp object. This case seems to be rare, as it doesn't appear in octane/regexp, so this won't block bug 887016 for now. of course there will be more applicable cases :)
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•