Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7183053

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: