Less-than optimization
Posted by kfsone's pittance [HTML][XML][PERM][FULL] on 8 June 2012, 2:36 pm
Constraining values to small 0 <= N <= limit is something that many compilers now optimize for you to reduce the number of comparisons and to eliminate the branch implied by the “also”: GCC 4.6.2 compiles the above to the following (I’ve omitted boilerplate code) The optimization here is that converting “i” from signed to [...]


· Older Entries >>

Show: [ALL] [NEWS] [BLOGS] [PODCASTS]

Updated Today:
A Green Mushroom [HTML] [XML] [FULL]
Bethesda Blog [HTML] [XML] [FULL]
DDOcast [HTML] [XML] [FULL]
Engadget Gaming [HTML] [XML] [FULL]
Massively Overpowered [HTML] [XML] [FULL]
mmocam! [HTML] [XML] [FULL]
MmoQuests.com [HTML] [XML] [FULL]
No Prisoners, No Mercy [HTML] [XML] [FULL]
Reign of Gaming [HTML] [XML] [FULL]
Tobold [HTML] [XML] [FULL]
Updated this Week:
Anyway Games [HTML] [XML] [FULL]
Bioware TOR Dev Blog [HTML] [XML] [FULL]
Mystic Worlds [HTML] [XML] [FULL]
The Instance [HTML] [XML] [FULL]
Updated this Month:
Blue Kae [HTML] [XML] [FULL]
Heartless Gamer [HTML] [XML] [FULL]
Morphisat's Blog [HTML] [XML] [FULL]
Ogrebear's Thoughts [HTML] [XML] [FULL]
Raph Koster [HTML] [XML] [FULL]
The Old Republic News from Bioware [HTML] [XML] [FULL]
The Ramblings of JoBildo [HTML] [XML] [FULL]
Wolfshead Online [HTML] [XML] [FULL]