forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-6481: [C++] Avoid copying large ConvertOptions
If you have N columns and a large subset of them are customized in ConvertOptions, copying ConvertOptions in each Converter or ColumnBuilder produces a quadratic explosion. With this PR, the reproducer in ARROW-6481 drops down from 8 seconds to 100 ms (on my machine). And it doesn't consume 8 GB RAM anymore. Closes apache#5334 from pitrou/ARROW-6481-large-convert-options and squashes the following commits: 967142e <Antoine Pitrou> ARROW-6481: Avoid copying large ConvertOptions Authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Wes McKinney <[email protected]>
- Loading branch information
Showing
4 changed files
with
90 additions
and
46 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
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
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
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