On 27/11/2015 13:36, Rory O'Donnell wrote:
> JEP 254: Compact Strings (http://openjdk.java.net/jeps/254) > > This JEP adopts a more space-efficient internal representation for strings. > > We propose to change the internal representation of the String class > from a UTF-16 char array to a byte array plus an encoding-flag field. > The new String class will store characters encoded either as > ISO-8859-1/Latin-1 (one byte per character), or as UTF-16 (two bytes per > character), based upon the contents of the string. The encoding flag > will indicate which encoding is used. This one sounds very promising, in the context of our last talks. Tristan -- Tristan Tarrant Infinispan Lead JBoss, a division of Red Hat _______________________________________________ infinispan-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/infinispan-dev
