c8ef commented on code in PR #2507:
URL: https://github.com/apache/kvrocks/pull/2507#discussion_r1731976143


##########
src/vendor/rand.cc:
##########
@@ -106,11 +106,6 @@ constexpr void SEED(const T x0, const T x1, const T x2) {
   SET3(x, x0, x1, x2), SET3(a, A0, A1, A2), c = C;
 }
 
-template <typename T>
-constexpr T HiBit(const T x) {

Review Comment:
   Even though it's in the vendored directory, I believe it's more of a modern 
C++ re-implementation based on the comment below. Therefore, removing the 
unused function should be acceptable, at least NFC.
   
   
https://github.com/apache/kvrocks/blob/5ecf023bcf0a92e23982fef1710a53f495cfef9a/src/vendor/rand.cc#L44-L47



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

Reply via email to