Closed
Bug 662766
Opened 13 years ago
Closed 13 years ago
parseInt fast path should return integers instead of doubles
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jandem, Assigned: jandem)
References
Details
(Keywords: perf)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
Many inline paths don't handle doubles so this can cause large performance problems. The TI branch had a fix for this but it regressed again, probably after merging bug 653153.
Assignee | ||
Comment 1•13 years ago
|
||
Strictly speaking this is not a TI bug, but since TI will merge soon I think we should fix it there to prevent merge problems.
Attachment #537984 -
Flags: review?(bhackett1024)
Comment 2•13 years ago
|
||
Comment on attachment 537984 [details] [diff] [review]
Patch
setNumber returns whether the number is an int32 (JM branch only), so this can be simplified a bit.
Attachment #537984 -
Flags: review?(bhackett1024) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Rewrote some other calls that use the same setNumber pattern.
Attachment #537984 -
Attachment is obsolete: true
Attachment #538063 -
Flags: review?(bhackett1024)
Comment 4•13 years ago
|
||
Comment on attachment 538063 [details] [diff] [review]
Patch
Nice!
Attachment #538063 -
Flags: review?(bhackett1024) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•