Skip to content

Commit

Permalink
Change order in signature to match closer the other languages
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jan 10, 2024
1 parent de44c6c commit 1eff555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/C++/src/som/dictionary.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ class Dictionary {
if (current->_next == nullptr) {
_buckets[current->_hash & (oldCapacity - 1)] = current;
} else {
splitBucket(i, current, oldCapacity);
splitBucket(oldCapacity, i, current);
}
}
}
}

void splitBucket(int32_t idx, Entry* head, int32_t oldCapacity) {
void splitBucket(int32_t oldCapacity, int32_t idx, Entry* head) {
Entry* loHead = nullptr;
Entry* loTail = nullptr;
Entry* hiHead = nullptr;
Expand Down

0 comments on commit 1eff555

Please sign in to comment.