Author: Ratko V Tomic
Date: 04:52:12 01/09/04
Go up one level in this thread
>if(x) y += 20; > >Would it then be advantageous to rewrite the code like this? > >y += (!(!x))*20; No, since the compiler will produce jumps anyway (you need to enable the compiler's assembly listing and check the output). The extra multiply would make the second statement slower.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.