3 ms·
Umm.. This will be completely transparent to developers, strings will fall back to Javas weirdo UCS2/UTF16 when necessary automatically.
by zokier 12y ago
Umm.. This will be completely transparent to developers, strings will fall back to Javas weirdo UCS2/UTF16 when necessary automatically.
- guard-of-terra 12y agoThis might actually be slower (you have a lot of strings which have UCS2 characters down the line, have to reallocate array and copy everything over)
- cesarb 12y agoAren't Java Strings immutable? Once built, they won't be modified.
- guard-of-terra 12y agoYou still need t construct them from e.g. array of bytes.