View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-07-2010 , 00:19   Re: [TUT] Bits, Bit-fields, and Bit-wise Operators
Reply With Quote #9

Okay, so I've read it and it's very detailed and explained well.

I have one thought though.
Shouldn't this:
Code:
new iBitfieldArray[ ( MAX_BIT / 32 ) + 1 ];
be this:
Code:
new iBitfieldArray[ ( MAX_BIT >> 5 ) + 1 ];
Not that the first is wrong, but 1. we are talking about bits, and 2. it was proved in the other thread that the latter was quicker than the former.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline