[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kyan Optimizer
"Bill Garber" <willy46pa@comcast.net> a �crit dans le message de news:
sJWdnRk4rY133zrZnZ2dnUVZ_sadnZ2d@comcast.com...
>
> "John B. Matthews" <nospam@nospam.com> wrote in message
> nospam-76BAE8.23271301072006@network-065-024-007-028.columbus.rr.com">news:nospam-76BAE8.23271301072006@network-065-024-007-028.columbus.rr.com...
> The word OPTIMIZE does not mean to speed up. It can inadvertantly
> speed things up, but not necessarily. It could, in effect, slow things
> down.
Yes, but with the Optimizer, they provide a source code SEIVE.P (integer
calculations about prime numbers) that really runs faster when optimized.
I tried with a similar program looking for "perfect numbers" (as 6
because divisors of 6 are 1, 2 and 3 and 1+2+3=6). It runs at the same speed
compiled or optimized. I was expecting a better result looking at their
example.
Or... as I am a new Pascal User, it's possible that my code is really
too bad...
Guillaume.