belliottsmith commented on code in PR #137:
URL: https://github.com/apache/cassandra-accord/pull/137#discussion_r1843346074
##########
accord-core/src/main/java/accord/utils/CheckpointIntervalArray.java:
##########
@@ -216,4 +217,34 @@ else if ((ri & BIT29) != 0)
forEachRange.accept(p1, p2, p3, p4, start, end);
return end;
}
+
+ @Inline
+ public <P1, P2, P3, P4> int forEachKey(Key key, IndexedQuadConsumer<P1,
P2, P3, P4> forEachScanOrCheckpoint, IndexedRangeQuadConsumer<P1, P2, P3, P4>
forEachRange, P1 p1, P2 p2, P3 p3, P4 p4, int minIndex)
Review Comment:
this is your code I copied forward, isn't it? I didn't look carefully at the
signature here. You're right that this looks odd, I'll take a closer look
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]