Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1712

[C++] Add method to BinaryBuilder to reserve space for value data

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • C++

    Description

      The Resize and Reserve methods only reserve space for the value offsets. When building binary/string arrays with a known size (or some reasonable estimate), it would be more efficient to reserve once at the beginning to prevent internal reallocations

      Attachments

        Issue Links

          Activity

            People

              1xuepanchen1 Panchen Xue
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: