You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f26ece3
Browse filesBrowse the repository at this point in the historyBrowse files
Keep one-column sorted-run searches as fast as before SortedKeyRuns
parallel_full_sorting_merge_join #1 (full_sorting_merge on one UInt64 key)
and window_function_with_order #3 got 10-20% slower: per row, the join
called an out-of-line findKeyRangeEndAssumeSorted, and the window code
called out-of-line copies of the SortedKeyRuns overloads and
WindowTransform::findPeerRunEnd, where master inlined the stateless search.
- force-inline findKeyRangeEndAssumeSorted, the SortedKeyRuns overloads in
SortCursor.h and findPeerRunEnd;
- the SortedKeyRuns overloads take the stateless search for one-column keys;
- the peer-group marking of SlidingIndexes (new in master) uses one
SortedKeyRuns per block instead of resetting it for every partition, which
called vector::assign per partition. The partitions are searched in order
and none starts inside an earlier one, so no stale run can be reused; the
reset contract is stated precisely.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments