-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rowcontainer,rowexec: switch joinReader to use DiskBackedNumberedRowC…
…ontainer Additionally, - added a randomized correctness test that compares the results of the indexed and numbered containers. - added benchmark cases to the joinReader benchmark that limit memory. None of the workloads have repeated reads of the same right row and all access the right rows in monotonically increasing order so the difference between the two containers is due to the numbered container avoiding the overhead of populating the cache. - reduced the number of allocations in newNumberedDiskRowIterator. - the accesses slices share the same underlying slice. - a row copy, when there is a miss and the row is not added to the cache, is eliminated. When a copy is needed and we have evicted a row from the cache, the copying reuses that evicted row. - allocations of the map, map elements are reused. Fixes #48118 Release note: None
- Loading branch information
1 parent
948ce76
commit f39ae24
Showing
5 changed files
with
336 additions
and
132 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
Oops, something went wrong.