serde_arrow icon indicating copy to clipboard operation
serde_arrow copied to clipboard

Use `size_hints` when building arrays

Open chmp opened this issue 1 year ago • 0 comments

The builders currently simply allocate a buffer, even though the number of elements should be known up front in most cases.

Plan:

  • Add a reserve method to the builders
  • Call reserve for each sequence start

chmp avatar Apr 07 '24 08:04 chmp