View Single Post
Re: Time to make some decisions?
Old
  (#66)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Time to make some decisions? - 13-06-2004

The Specialists works like this too. I think it's the way to go.


@sfx1999: yes it is as fast, because (1 << n) are constants, and thus are translated into their right value by the preprocessor. Once the compiler parses it, the result is exactly the same in both ways.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote