Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1335

Unnecessary buffer when no compression is used

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core/Engine
    • Labels:

      Description


      As shown in the figure, a buffer for uncompression is created even if NO_COMPRESSOR is used, which incurs unnecessary memory allocation and copy.

      The solution is to skip the decompression process completely when NO_COMPRESSOR is used. Similar problems may be detected during the write process and should be examined with care.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jt2594838 Tian Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: