> -----Original Message-----
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
> 
> and finally, Bit Tests are fast!

Moreover, given the typical component structure with four or five public methods where 
the bit test is done once and several protected and private methods where the 
computation is done, the bit test itself is probably less than 1/1000th of the time. 
Then add branch prediction & JIT compilation and the bit test sorta disappears from 
the performance radar.

I am a great believer in the statement that real performace is gained by clever choice 
of algorithms and not by removing a single bit test (or something like that)...

/LS


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to