Repository navigation
[wasm] Migrate to ref/out param while reading data from typed array - #70823
Conversation
|
Tagging subscribers to 'arch-wasm': @lewing Issue Details
|
|
|
Are there other obsolete js functions used internally, which could be replaced with better one ? |
Interesting, that usually means Node ran out of memory. |
There are a bunch of them still in the codebase, we should consider deleting them all and fixing whatever touches them. I wouldn't be surprised if it broke some stuff though. |
|
Could we also rename TBH: if we are able to land the new interop, I would much rather not extend the scope of this private API and moved all of it to undocumented |
Yea, I should allocate less in the test. I put there some high numbers, because I wasn't able to make the test fail before the fix. But @pavelsavara suggested some changes. |
I don't consider it expanding the scope, since we're just replacing broken APIs with fixed ones. If you're proposing that we delete the API I understand the reasoning but I think we would need to do that in 8 |
I think the names are correct
|
|
the caller has to get |
I'm not opposed refactoring the API in a new PR. |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
mono_wasm_typed_array_to_array_refThe test case doesn't prove the fix, because it doesn't fail without the fix. Could it be related to the publish requirement?