-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VL] Refactor split buffer allocation (#3177)
The PR is a code cleanup. no impact to perf Extract the duplicated logic in both resizePartitionBuffer and allocatePartitionBuffer. In prealloc partition buffer, use resizePartitionBuffer instead of allocatePartitionBuffer if need to preserve buffer data for the next split, and remove the resize branch in allocate PartitionBuffer.
- Loading branch information
Showing
2 changed files
with
108 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.