Skip to content

Commit

Permalink
Improve performance of sort-merge join (hyrise#2355)
Browse files Browse the repository at this point in the history
Various small performance improvements in the sort-merge join. No added functionality.
  • Loading branch information
Bouncner authored May 31, 2021
1 parent 91dcdfd commit 6b3fcde
Show file tree
Hide file tree
Showing 5 changed files with 389 additions and 509 deletions.
2 changes: 1 addition & 1 deletion src/lib/operators/join_hash/join_hash_steps.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ RadixContainer<T> materialize_input(const std::shared_ptr<const Table>& in_table
// Create histograms per chunk
histograms.resize(chunk_count);

std::vector<std::shared_ptr<AbstractTask>> jobs;
auto jobs = std::vector<std::shared_ptr<AbstractTask>>{};
jobs.reserve(chunk_count);
for (auto chunk_id = ChunkID{0}; chunk_id < chunk_count; ++chunk_id) {
const auto chunk_in = in_table->get_chunk(chunk_id);
Expand Down
Loading

0 comments on commit 6b3fcde

Please sign in to comment.