boa icon indicating copy to clipboard operation
boa copied to clipboard

ASCII encoding `JsString`s

Open HalidOdat opened this issue 1 year ago • 0 comments

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.

HalidOdat avatar Jul 02 '23 15:07 HalidOdat