Closed
Bug 1493712
Opened 7 years ago
Closed 5 years ago
Optimize struct.new in various ways (Rabaldr)
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: lth, Unassigned)
References
Details
It's possible this is a meta-bug; we'll see.
There are several opportunities to optimize struct.new:
- inline what is now a call to C++ code to perform the allocation
- generate better code for the field initialization by iterating over the
arguments in a more optimal order, see comments in the code
- avoid initializing fields whose initializing values are literal zeroes /
null pointer, probably a common case
| Reporter | ||
Comment 1•5 years ago
|
||
GC code has changed completely.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•