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

Optimize Reader.read(CharBuffer)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 5.0
    • core-libs
    • b20

      java.io.Reader.read(java.nio.CharBuffer target) could check to see if the target buffer is a heap buffer and if so, its backing array could be obtained so that the characters can be copied directly into it rather than making an intermediate array.

            bpb Brian Burkhalter
            mmcclosksunw Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: