æ¬æ¥ãã¤ãã« JavaSE 9 ããªãªã¼ã¹ããã¾ããï¼ ããã§ãããã¦ããåã«ãªã£ã¦ãã JEP 254: Compact Strings ãã©ã®ããã«å®è£ ããã¦ããã®ã調ã¹ã¦ã¿ã¾ããã Compact Strings ã®æ¦è¦ ããã¾ã§ String ã¯ã©ã¹ã StringBuilder ã¯ã©ã¹ãªã©ã®å é¨ã§ã¯ãæååã UTF-16 ã§ã¨ã³ã³ã¼ãã㦠char é åã§ä¿æãã¦ãã¾ããã ã¤ã¾ããä¸æåããã*1常㫠char ã²ã¨ã¤ = 2ãã¤ãåã®ã¡ã¢ãªã使ã£ã¦ãã¾ããã ããããããã 㨠1 ãã¤ãã§è¡¨ãã LATIN1ï¼ASCII ã³ã¼ã ï¼ ã©ãã³æåï¼ã®æååã®å ´åããã®ååã 0x00 ã«ãªãã¨ããç¡é§ãããã¾ããã ããã§ãå é¨è¡¨ç¾ãå¤æ´ããæååã LATIN1 ã®ã¿ã§æ§æãããã¨ã㯠1 æåã 1 ãã¤ãã§ä¿æããããã«ãªãã¡ã¯ã¿ãªã³ã°ããã¾ããã ã¡ãªã¿ã«ãLATIN
{{#tags}}- {{label}}
{{/tags}}