Skip to content

Commit

Permalink
fix comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachelint committed Aug 29, 2024
1 parent 36e0791 commit 4426307
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions datafusion/physical-plan/src/aggregates/row_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,10 @@ impl SkipAggregationProbe {
/// copies, resulting in poor performance.
///
/// In contrast, the blocked approach allocates capacity for the block
/// based on a predefined block size firstly. And
/// when the block reaches its limit, we allocate a new block instead of
/// expanding the current one and copying the data.
/// based on a predefined block size firstly.
/// And when the block reaches its limit, we allocate a new block
/// (also with the same predefined block size based capacity)
/// instead of expanding the current one and copying the data.
/// This method eliminates unnecessary copies and significantly improves performance.
/// For a nice introduction to the blocked approach, maybe you can see [#7065].
///
Expand Down

0 comments on commit 4426307

Please sign in to comment.