>Hi
>
>
>T1=SECONDS()
>PRIVATE i
>FOR I=1 TO 20000000
>NEXT
>? SECONDS()-T1
>
>
>I run this program on my Compaq EVO P4 2,2Ghz and on a PC Athlon XP 2000+.
>
>Result:
>
> | VFP6SP5 | VFP7SP1 | VFP8
>---------------------------------------------------
>P4 2.2GHZ | 1.232 s | 1.191 s | 1.503 s
>---------------------------------------------------
>AMD XP 2000+ | | 1.232 s | 1.171 s
>---------------------------------------------------
>
>
>VFP8 vs VFP7SP1 is 26% SLOWER on P4
>
>VFP8 vs VFP7SP1 is 5% FASTER on ATHLON XP
>
>Why ?
>
Fabio,
First, VFP8 is only about 3% slower on the P4, than VFP7, but it's about 22% faster on the AMD.
Secondly, a change in the VFP internals would cause this difference, especially in terms of memory manipulation, which VFP does a lot of. The original P4 cut the doubled the number of pipes and cut the on-chip caching in half. In reality, we should expect an AMD XP 2000+, which runs at 1.67 ghz to out perform a P4 2.2 because of this.
George
Ubi caritas et amor, deus ibi est