On Jeudi 28 Juin 2001 16:03, Phoebus Dokos wrote:

> >Hmmmm now that's ODD!
> >I used the following little program to run a "benchmark" of Turbo of sorts
> >
> >10 CLS
> >20 PRINT #2, date$
> >30 FOR F=1 to 1000
> >40 PRINT #1, SQRT(F)
> >50 END FOR F
> >60 PRINT #2, date$
> >70 PAUSE
>
> Ooops make the 1000 10000
>
> >On QPC 2v2 FINAL, SBASIC reports execution in 9 secs.
> >
> >When I execute the compiled same program I get 10 secs!
> >
> >Is it possible?
> >
> >Phoebus
>
> Anyways after changing line 30 to 100000 and then 40 to read SQRT (F),
> ATAN(F) then I got a little better results:
>
> SBASIC did it in 2 mins 31 secs and TURBO in 2 mins 21 secs. Still though
> it's only 7% faster .... hmmmm

There is nothing extraordinary in these results... SBASIC is NOT
SuperBASIC: SBASIC is nothing less than an "on the fly" semi-compilator.
As such, it runs programs as fast as QLiberator (which is itself almost
as fast as Turbo).

You will get better figures with TURBOcharged programs that use Turbo
"optimized" compiled features, such as integers or string slicing/conca-
tenation. Note that most Turbo "optimized" features make it incompatible
with usual S*BASIC syntax/usage though...

QDOS/SMS forever !

Thierry.

Reply via email to