Generalize C#/JS string interning and ensure most bindings code supports interned...
authorKatelyn Gadd <kg@luminance.org>
Tue, 15 Jun 2021 20:38:10 +0000 (13:38 -0700)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 20:38:10 +0000 (13:38 -0700)
commit2506a7423d59a09c17a6b4d766845bd1b64aa11a
treefb96bad0b5985cbc11526824a7a52ad02187b292
parentce95c98fbbf7592b1b74127a4b87fcd607a25c1a
Generalize C#/JS string interning and ensure most bindings code supports interned strings (#54086)

This PR refactors all C# -> JS string decoding to go through a single path that maintains an intern table
src/mono/wasm/runtime/binding_support.js
src/mono/wasm/runtime/driver.c
src/mono/wasm/runtime/library_mono.js