I'm trying to remove branches from my code so it consumes less %cpu.
If I convert an inner loop if statement from:
Qt Code:
if ( b ) { a = c; } else { a = d; }To copy to clipboard, switch view to plain text mode
To:
Does that take a branch out of the opcode?
Initial tests indicate this does not reduce the %cpu of my app very much.
Bookmarks