Re: [INFO] Bitsums and Operators
Quote:
|
Re: [INFO] Bitsums and Operators
Quote:
Quote:
|
Re: [INFO] Bitsums and Operators
Quote:
|
Re: [INFO] Bitsums and Operators
Ok forget it man.. I can't talk with u :)
|
Re: [INFO] Bitsums and Operators
Quote:
Quote:
|
Re: [INFO] Bitsums and Operators
Ahem, andrade.
"continue" is never called because the if() statement never returns true. Code:
|
Re: [INFO] Bitsums and Operators
nice idea but in fact this is a very trivial optimization... 1byte vs 132byte... 1byte = ~0.000000001gb, nearly every computer has 1gb ram :/ anyway, this would have been a great idea when computers had ~8mb ram :P
this topic would still make sense if you change its focus from ram optimizations to a general tutorial for bitsums. |
Re: [INFO] Bitsums and Operators
Quote:
|
Re: [INFO] Bitsums and Operators
Quote:
|
Re: [INFO] Bitsums and Operators
Quote:
The -1 method: Code:
AddFlag(_,1) = 1 << 0 Code:
AddFlag(_,1) = 1 << 1 |
All times are GMT -4. The time now is 03:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.