Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-306

Improve performance of ChannelDataInput.readBits(int)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.3, 0.4, 0.5, 0.6
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None

      Description

      Profiling shows that reading of compressed file formats spend a lot of time in ChannelDataInput.readBits(int). We may try to improve performance by replacing all calls to readByte() and readUnsignedByte() is that method by calls to buffer.get(). But before, we need to invoke ensureBufferContains(int). However we will try to invoke the later method only once, instead than at each call of readByte().

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              desruisseaux Martin Desruisseaux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: