Optimize DoubleByte charset for String.getBytes()/new String(byte[])

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • None
    • b49
    • generic
    • generic
    • Verified

      To implement sun.nio.cs.ArrayDecoder/ArrayEncoder for sun.nio.cs.ext.DoubleByte based double-byte charsets. All single-byte charsets and UTF-8 charset have implemented the
      ArrayDecoder/ArrayEncoder in jdk7, which result in huge performance improvment for String.getByte() and new String(byte[]) operations. See http://blogs.sun.com/xuemingshen/entry/faster_new_string_bytes_cs for details.

            Assignee:
            Xueming Shen
            Reporter:
            Xueming Shen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: