Skip to content

Commit 8c20b3d

Browse files
cpwrightCopilot
andauthored
Update server/src/main/java/io/deephaven/server/table/ops/SortTableGrpcImpl.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d5b5cc2 commit 8c20b3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/io/deephaven/server/table/ops/SortTableGrpcImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public Table create(final SortTableRequest request,
7070
}
7171

7272
// This loop does two optimizations:
73-
// 1. Consolidate all sorts into a SortPair array to only call one sort on the table
73+
// 1. Consolidate all sorts into a List<SortColumn> so the table is sorted only once
7474
// 2. Move all the reverses to the back:
7575
// - For an odd number of reverses only call one reverse
7676
// - For an even number of reverses do not call reverse (they cancel out)

0 commit comments

Comments
 (0)