Just a little something that has been bothering me.

Walter Bright bright at nazgul.UUCP
Wed Dec 12 07:06:14 AEST 1990


In article <1990Dec08.222943.1581 at cs.widener.edu> sven at 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.



More information about the Comp.lang.c mailing list