Skip to content

Commit

Permalink
DO NOT MERGE: what we need to have on the consumer side
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoramirez committed Dec 20, 2024
1 parent dd3d1ab commit 15740b4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,12 @@ private void mergeOrdinal(int ordinal) {
if(!removeData) {
for(long bucketIdx=currentFromStateStartBucket; bucketIdx<fromDataEndBucket; bucketIdx++) {
long bucketKey = from.entryData.getElementValue(bucketIdx * from.bitsPerMapEntry, from.bitsPerKeyElement);
long bucketValue = from.entryData.getElementValue(bucketIdx * from.bitsPerMapEntry + from.bitsPerKeyElement, from.bitsPerValueElement);
long bucketValue;
if (from.bitsPerValueElement == 0) {
bucketValue = 0;
} else {
bucketValue = from.entryData.getElementValue(bucketIdx * from.bitsPerMapEntry + from.bitsPerKeyElement, from.bitsPerValueElement);
}
if(bucketKey == from.emptyBucketKeyValue)
bucketKey = target.emptyBucketKeyValue;
long currentWriteStartBucketBit = currentWriteStartBucket * target.bitsPerMapEntry;
Expand Down

0 comments on commit 15740b4

Please sign in to comment.