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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: 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

              • Assignee:
                1xuepanchen1 Panchen Xue
                Reporter:
                wesmckinn Wes McKinney
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: