-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor UnionBuilder Constructors #2488
Conversation
Could you merge master so that the CI runs clean 🙏 |
@@ -168,8 +178,8 @@ impl UnionBuilder { | |||
} | |||
} | |||
|
|||
/// Creates a new sparse array builder. | |||
pub fn new_sparse(capacity: usize) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not something for this PR but we should probably save the capacity and use it when we create new builder children
Ticket created - #2523
Benchmark runs are scheduled for baseline = 930d2d7 and contender = ac8b0eb. ac8b0eb is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
Partially implements #2054
Rationale for this change
Refactor apis to make a consistent new and with_capacity functions
What changes are included in this PR?
introduced funcions with_capacity_sparse and with_capacity_dense and removed capacity option from new functions
Are there any user-facing changes?
Yes