Closed
Bug 1530420
Opened 5 years ago
Closed 4 years ago
Optimize allocation in DataView BigInt accessors
Categories
(Core :: JavaScript Engine, enhancement, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: terpri, Unassigned)
References
Details
Bug 1528582 adds unoptimized WebIDLCast functions that root new BigInts to perform integer conversion. As an optimization, these functions should be updated to convert values to (u)int64 without GC allocation.
Updated•5 years ago
|
Priority: -- → P2
Comment 1•4 years ago
|
||
Unnecessary GC allocations only take place when the input value is either a Boolean
or a String
value. And I'm not sure it's crucial to optimise for these two input kinds, because we should expect that most inputs are already BigInt
values.
Comment 2•4 years ago
|
||
Resolving as WFM per comment #1
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•