interface
  • Najlepsze
  • Wszystkie komentarze
interface
interface Autor
1
@Dahald: zasadniczo to ja to przeczytalem http://openjdk.java.net/jeps/254
interface
interface Autor
0
The current implementation of the String class stores characters in a char array, using two bytes (sixteen bits) for each character. Data gathered from many different applications indicates that strings are a major component of heap usage and, moreover, that most String objects contain only Latin-1 characters. Such characters require only one byte of storage, hence half of the space in the internal char arrays of such String objects is going unused.
GotoFinal
nie pamietam kiedy ostatnio tworzylem jednoliterowego stringa

@interface: wut?

co to ma do tego co zacytowałeś?
interface
interface Autor
0
@GotoFinal: wlasnie przeczytalem cytat drugi raz, zrozumialem go inaczej wczesniej ;)
Dahald
@interface masz może gdzieś ciekawy link do opisu jak konkretnie działa teraz reprezentacja stringa za pomocą byte array? Oraz coś więcej o zmianach w serializacji? :)
Dahald
@interface ok, dziękuję