Thread: Chat System
View Single Post
  #20  
Old 12-25-2011, 07:54 PM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by cbk1994 View Post
It makes it clear the previous condition was not true...
Quote:
Originally Posted by Hezzy002 View Post
There actually is a difference, though, that you forgot to note.
Most importantly, an if followed by an else will result on a jump instruction, which saves you the instructions for symbol lookup and relation test, etc. by slipping them => faster code.
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/

Last edited by Tolnaftate2004; 12-26-2011 at 01:39 AM..
Reply With Quote