Closed
Bug 580064
Opened 15 years ago
Closed 12 years ago
JM: PIC: Leap-before-you look GETELEM pattern
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: cdleary, Unassigned)
References
Details
In SunSpider's date-format-xparb there's a snippet that does:
if (Date.formatFunctions[format] == null) {
Date.createNewFormat(format);
}
... where createNewFormat adds that property to the formatFunctions object. It may be a common pattern we can optimize for -- currently we disable PICs on first missed lookup. It's only a 4k trip count loop in SunSpider, so deferring till we have a benchmark we can see good results on.
Reporter | ||
Updated•15 years ago
|
Severity: normal → enhancement
![]() |
||
Comment 1•12 years ago
|
||
JM removed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•