Re:What is your favourite C programming trick?
by mansr on Friday October 14, 2011 @10:42AM
(#3111338)
And if it is not a power of 2, the % operation will be anything but fast. If a size not a power of 2 is strictly required, a simple increment and compare is almost certainly faster.
[ Parent
| on HN ]
There are no comments on this comment yet.