Author: Olaf Jenkner
Date: 23:18:03 03/14/01
Go up one level in this thread
On March 15, 2001 at 01:24:22, Steve Maughan wrote:
>Olaf,
>
>The reason that Delphi compiles so quickly is due to the struture of the
>language and not the quality of the optimization. Best estimates show that
>Delphi is +/- 20% of the speed of VC (see www.optimalcode.com). Yes for some
>integer manipulations it is faster than VC. See also Jakes programming
>challenge where Delphi quite often beats VC.
>
>It's easy to blame the compiler - usually the problem have more to do with
>structure of the program.
>
>Steve
A look at the generated code shows some horrible things:
Example: if(a[i]=x)or(a[i]=y)or(a[i]=z)then ...
Delphi does not know that it can load the value
of a[i] in a register only on once.
I think many things could be done better without a great optimization.
OJe
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.