forked from modin-project/modin
-
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.
PERF-modin-project#5533: Improved sort_values by reducing the number …
…of partitions 1. In groupby_reduce() num_splits is limited by the number of partititons. We assume here, that gorupby should not increase the current data size. 2. Added a heuristic to the text file reader for calculating the number of partitions: num_partitions = min((num_rows * num_cols) // 64_000, NPartitions.get()) An approximate number of rows is estimated by reading the first 10 lines. Signed-off-by: Andrey Pavlenko <[email protected]>
- Loading branch information
1 parent
513166f
commit baad787
Showing
2 changed files
with
36 additions
and
6 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