Embedded Swift

As I've clarified on that PR, if you need String in Wasm you shouldn't be using Embedded Swift in the first place. Use of String will negate binary size reduction that Embedded Swift brings, and as for performance you'll still incur UTF-8 <-> UTF-16 re-encoding overhead on every call bridged to JavaScript.

2 Likes