boa
boa copied to clipboard
ASCII encoding `JsString`s
Currently JsString
can only be u16
even if the contents can fit into the ASCII range this requires more memory to store strings.
It would be better to have a flag in JsString
, to know if the data
content is an array of u8
or u16
.