[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Or



> There is a difference, but it's subtle. The difference is not in the
> result, but in the internals. (If there were a different result, it
> would be a bug.)

 i should have checked the class properly :\ 
i always thought and: & or: were the ones that values things

> In the second example (using or:), the 2nd test is inlined and it will
> run slightly faster.

i can't get my head round how / where this happens 
afaics the and:/&&  and or:/|| for True and False are identical ?
is it magic ?


_______________________________________________________________ 
What is the most abundant metal on earth? 

postmaster.co.uk
http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=214