Closed
Bug 554461
Opened 14 years ago
Closed 7 months ago
[typedarray] use more NumberTraits
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: vlad, Unassigned)
Details
The typed array patch in bug 550351 could benefit from NumberTraits in a few ways: 1) use StringToNumberType instead of js_ValueToNumber when converting known strings; 2) Use NumberTraits<NativeType>::toSelfType(d) as arg to setIndex, to ensure compile-time optimization instead of depending on the compiler to be smart enough to remove dead code in the big if block chain 3) Use NumberTraits::NaN() in nativeFromValue
Comment 1•14 years ago
|
||
vlad, do you want to take this, or should I?
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Updated•2 years ago
|
Severity: normal → S3
Updated•7 months ago
|
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•