You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…d BinaryBuilder (#35613)
### Rationale for this change
There are several safety checks/operations that can be optimized to enhance performance of ListBuilder and BinaryBuild
### What changes are included in this PR?
1. Remove redundant safety checks
2. replace Append with UnsafeAppend when possible
3. In AppendArraySlice, pre-allocate space for the whole batch.
### Are these changes tested?
Yes, by existing tests in array_test.cc.
### Are there any user-facing changes?
No.
* Closes: #35611
Authored-by: Jin Shang <shangjin1997@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Describe the enhancement requested
There are several safety checks/operations that can be optimized to enhance performance of ListBuilder and BinaryBuild, including:
Append
afterReserve
is calledComponent(s)
C++
The text was updated successfully, but these errors were encountered: