if statement optimization

new topic     » topic index » view thread      » older message » newer message

In a tight loop, is there any performance difference betweeen:

if (condition) then 
    return 0 
else 
    return 1 
end if 

and:

if (condition) then 
    return 0 
end if 
return 1 

?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu