Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!pilchuck!dataio!fnx!nazgul!bright From: bright@nazgul.UUCP (Walter Bright) Newsgroups: comp.lang.c Subject: Re: Just a little something that has been bothering me. Message-ID: <202@nazgul.UUCP> Date: 11 Dec 90 20:06:14 GMT References: <1990Nov30.180913.20890@clear.com> <1990Dec08.222943.1581@cs.widener.edu> <14694@smoke.brl.mil> Reply-To: bright@nazgul.UUCP (Walter Bright) Organization: Zortech, Seattle Lines: 12 In article <1990Dec08.222943.1581@cs.widener.edu> sven@cs.widener.edu (Sven Heinicke) writes: -What is quicker? - int a = 0,i = 0; -or - int a,i; - i = a = 0; -and why? Why not: 1. Compile and disassemble the output, and see if there is any difference in the code generated. 2. Write a simple timing loop to see which is faster.