Irrlicht3d.org
::
Blog
|
About Me
|
Twitter
Add comment for
Debugging typos
Posted by:
Enter the missing letter in: "Internation?l"
Text:
[quote][b]nh[/b] wrote: There's a fundamentally different way to count the number of set bits, without using branches. It goes something like this: value = (value & 0x5555) + ((value & 0xAAAA) >> 1); value = (value & 0x3333) + ((value & 0xCCCC) >> 2); value = (value & 0x0F0F) + ((value & 0xF0F0) >> 4); value = (value & 0x00FF) + ((value & 0xFF00) >> 8); Depending on the system details (branch overhead etc.), this can be significantly faster. And it looks way cooler, too ;)[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons