Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: question about changing my data structure

Author: Gerd Isenberg

Date: 06:17:51 07/18/03

Go up one level in this thread


>>Uri, if "i" is a constant, there is no waste of time!
>>A1[j] or A[1][j] produce the same assembler output.
>
>This in fact depends on the compiler implementation. The good old TurboC had to
>generate a few additional code lines in case of double indexed arrays.
>Regarding, the 32 Bit compiler by MS you are of course right, Gerd; there is no
>performance penalty in this case.
>
>May be, this is a pedantic remark of mine. -:)
>
>Uli
>

Hi Uli,

he,he, the good old TurboC.
Was TurboC not able to calc some constant address expressions?
What about constant int expressions like

 i = (5*(1<<4));-)

Regards,
Gerd




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.