Coroutines schrieb:

What I want is to be able to view a String through a typed array
without duplicating the memory/contents of that string.

The largest problem I see with this is that strings are immutable while typed arrays / buffers do allow indexed write access. So before using strings instead of buffers (or efficiently creating buffers from strings), we'd need to introduce something like ConstTypedArrays.

Regards,
 Bergi

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to