Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-610

ByteBuffer.getString() performance issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.10, 1.1.7
    • 1.0.11, 1.1.8
    • Core
    • None

    Description

      ByteBuffer.getString() in 1.1 & 1.0 underperforms IoBuffer.getString() in the trunk, because it's missing some optimizations that were done on the trunk.

      • Default of heap buffers vs. direct buffers
      • further optimization using the indexOf method

      These changes need to be backported. See http://markmail.org/message/j76kbfbie62ixrtd for the discussion thread.

      Attachments

        1. DIRMINA-610-1.0.patch
          5 kB
          Sangjin Lee
        2. DIRMINA-610-1.1.patch
          5 kB
          Sangjin Lee

        Activity

          People

            sjlee0 Sangjin Lee
            sjlee0 Sangjin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: