Eric Erhardt created ARROW-5896:
-----------------------------------

             Summary: [C#] Array Builders should take an initial capacity in 
their constructors
                 Key: ARROW-5896
                 URL: https://issues.apache.org/jira/browse/ARROW-5896
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C#
            Reporter: Eric Erhardt


When using the Fluent Array Builder API, we should take in an initial capacity 
in the constructor, so we can avoid allocating unnecessary memory.

Today, if you create a builder, and then .Reserve(length) on it, the initialĀ 
byte[] that was created in the constructor is wasted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to