Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/11/02 23:09
Read: times


 
#34288 - RE: Checking one bit, in a byte Fast
Just to repeat an echo between the walls here.......the fastest way in one C compiler will most likely not be the fastest way in another C compiler. And it is possible that the code sequence generated by a particular compiler for one type of code context may differ for a different code context. For example you can get different code for...

if(x & 0x04)
{
....do something...
}

.versus.

(x & 0x04 ? ...do something... : ...something else...);

Michael


List of 13 messages in thread
TopicAuthorDate
Checking one bit, in a byte Fast            01/01/70 00:00      
RE: Checking one bit, in a byte Fast            01/01/70 00:00      
RE: Checking one bit, in a byte Fast            01/01/70 00:00      
RE: Checking one bit, in a byte Fast            01/01/70 00:00      
RE: Checking one bit, in a byte Fast            01/01/70 00:00      
RE: Checking one bit, in a byte Fast            01/01/70 00:00      
RE: Checking one bit, in a byte Fast            01/01/70 00:00      
Checking 1 bit in a byte Faster than Dan            01/01/70 00:00      
RE: Checking 1 bit in a byte Faster than Dan            01/01/70 00:00      
RE: assembler faster than C            01/01/70 00:00      
RE: Checking 1 bit in a byte Faster than Dan            01/01/70 00:00      
RE: Checking 1 bit in a byte ... Erik            01/01/70 00:00      
RE: Checking one bit, in a byte Fast            01/01/70 00:00      

Back to Subject List