belliottsmith commented on code in PR #154:
URL: https://github.com/apache/cassandra-accord/pull/154#discussion_r1914988778


##########
accord-core/src/main/java/accord/local/cfk/Utils.java:
##########
@@ -261,6 +262,28 @@ static TxnId[] removePrunedAdditions(TxnId[] additions, 
int additionCount, TxnId
         return prunedIds;
     }
 
+    static TxnId[] removeUnmanaged(TxnId[] ids)
+    {
+        int count = 0;

Review Comment:
   I will make a note to consider this more later. My intuition is that 
counting will have negligible cost, as these arrays should normally be small. 
But equally in C* we expect to have very few unmanaged transactions.



-- 
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]

Reply via email to