Open
Bug 1895925
Opened 8 months ago
Updated 8 months ago
Do not create Wasm structures for simple params/results in PI wrappers
Categories
(Core :: JavaScript: WebAssembly, enhancement, P2)
Core
JavaScript: WebAssembly
Tracking
()
NEW
People
(Reporter: yury, Unassigned)
References
(Blocks 1 open bug)
Details
In GetSuspendingPromiseResult, SetPromisingPromiseResults and wasm wrappers, we work with GC structures. It adds some overhead.
Replace these structures with less complex types:
- if params/results is single reference, use just this reference
- if no params/results, use just null pointer
This will not change logic of builtin/utility functions. The logic of generated wrappers might change though. (Also, I was thinking about i32/i64 types, but this complicates things)
Updated•8 months ago
|
Severity: -- → N/A
Priority: -- → P2
Reporter | ||
Updated•8 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•