Author: Dieter Buerssner
Date: 10:43:34 08/22/03
Go up one level in this thread
On August 21, 2003 at 18:22:32, Omid David Tabibi wrote:
>I changed some data structures in my program and added two functions (the
>variables are renamed below):
>
>void func1(unsigned int &a, int b, int c) {
> a += array[b][c];
>}
Often, using references (or pointers) makes optimizations for the compiler much
harder, or even impossible. It shouldn't effect that example for principal
reasons - but one never knows ...
For seeing assembly code fast, I find it convenient to use the compiler from the
command-line. Just add the -Fa parameter. For example cl -O2 -Fa test.c.
Regards,
Dieter
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.