Closed
Bug 888613
Opened 12 years ago
Closed 12 years ago
Micro-optimization of js::ToInteger
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: till, Assigned: till)
Details
Attachments
(2 files, 1 obsolete file)
|
792 bytes,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
|
437 bytes,
text/plain
|
Details |
No description provided.
| Assignee | ||
Comment 1•12 years ago
|
||
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Comment 3•12 years ago
|
||
Attachment #769362 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 769361 [details] [diff] [review]
Micro-optimization of js::ToInteger
Stumbled upon this.
The attached micro-benchmark gets a speedup of ~9%. While I doubt that that makes a difference in any benchmarks we care about, simplifying code and getting rid of two branches can't be wrong. Right?
Attachment #769361 -
Flags: review?(jwalden+bmo)
Updated•12 years ago
|
Attachment #769361 -
Flags: review?(jwalden+bmo) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Status: NEW → ASSIGNED
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•