You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "kevinrr888 (via GitHub)" <gi...@apache.org> on 2026/01/29 17:06:33 UTC
[I] Optimization for some mod ops [accumulo]
kevinrr888 opened a new issue, #6095:
URL: https://github.com/apache/accumulo/issues/6095
The following optimization can be made to mod operations. This can be applied where applicable with a comment explaining the original operation for clarity
`n % x === n & (x-1)` when x is a power of 2 but bitwise and is much faster
_Originally posted by @kevinrr888 in https://github.com/apache/accumulo/pull/6025#discussion_r2742486786_
--
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: notifications-unsubscribe@accumulo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org