Re:JEP254: proposal to represent Java Strings as ISO-8859-1
by zokier on Friday May 15, 2015 @10:08AM
(#9550641)
Umm.. This will be completely transparent to developers, strings will fall back to Javas weirdo UCS2/UTF16 when necessary automatically.
[ Parent
| on HN ]
Re:JEP254: proposal to represent Java Strings as ISO-8859-1
by guard-of-terra on Friday May 15, 2015 @11:45AM
(#9551338)
This 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)
Re:JEP254: proposal to represent Java Strings as ISO-8859-1
by cesarb on Friday May 15, 2015 @12:42PM
(#9551805)
Aren't Java Strings immutable? Once built, they won't be modified.
Re:JEP254: proposal to represent Java Strings as ISO-8859-1
by guard-of-terra on Friday May 15, 2015 @03:58PM
(#9553256)
You still need t construct them from e.g. array of bytes.