Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ is awesome!

Name: Anonymous 2006-11-06 18:09

(a<b?a:b<c?b:c) = val();

Name: Anonymous 2007-07-17 17:28 ID:uU2y6e+u

>>29
The first statement would get compiled to something like:
mov eax, [a]
sub eax, 2
test eax, eax
jne cond_false

The second gets compiled to:
cmp [a], 2
jne cond_false

Tell me, which one do you think is more efficient?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List