ibessonov commented on code in PR #6316:
URL: https://github.com/apache/ignite-3/pull/6316#discussion_r2239607393
##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/index/sorted/comparator/JitComparatorGenerator.java:
##########
@@ -210,9 +212,9 @@ public static JitComparator createComparator(
Variable innerEntrySize = scope.declareVariable(int.class,
"innerEntrySize");
if (maxEntrySizeLog != 0) {
- // If entry size can be more than 1, then we read it from headers
of tuples like this:
- // int outerFlag = outerAccessor.get(0) &
BinaryTupleCommon.VARSIZE_MASK;
- // int outerEntrySize = 1 << outerFlag;
+ // If entry size can be more than 1 byte, then we read it from
headers of tuples like this:
+ // int outerEntrySize = 1 << (outerAccessor.get(0) &
BinaryTupleCommon.VARSIZE_MASK);
Review Comment:
Thank you, I forgot to update this particular part of the comment. You are
correct
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]