Skip to content

Commit

Permalink
set numthreads in call to util::externalSort, update libutil
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbr committed Dec 4, 2024
1 parent 4f65c01 commit 4261fa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/spatialjoin/Sweeper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ void Sweeper::flush() {
#ifdef __unix__
posix_fadvise(newFile, 0, 0, POSIX_FADV_SEQUENTIAL);
#endif
r = util::externalSort(_file, newFile, sizeof(BoxVal), _curSweepId, boxCmp);
r = util::externalSort(_file, newFile, sizeof(BoxVal), _curSweepId, _cfg.numThreads, boxCmp);

if (r < 0) {
std::stringstream ss;
Expand Down
2 changes: 1 addition & 1 deletion src/util
Submodule util updated 1 files
+97 −27 Misc.h

0 comments on commit 4261fa2

Please sign in to comment.