Skip to content

Commit

Permalink
[Improvement](sort) enlarge HEAP_SORT_THRESHOLD to 50000 (#41272)
Browse files Browse the repository at this point in the history
## Proposed changes
enlarge HEAP_SORT_THRESHOLD to 50000
  • Loading branch information
BiteTheDDDDt authored Sep 25, 2024
1 parent 63555ea commit 869680b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/common/sort/heap_sorter.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class HeapSorter final : public Sorter {

Field get_top_value() override;

static constexpr size_t HEAP_SORT_THRESHOLD = 1024;
static constexpr size_t HEAP_SORT_THRESHOLD = 50000;

private:
void _do_filter(HeapSortCursorBlockView& block_view, size_t num_rows);
Expand Down

0 comments on commit 869680b

Please sign in to comment.