[REBOL] Re: Graph Drawing & /View Performance
From: cyphre:seznam:cz at: 10-May-2002 9:24
Hi Etienne,
----- Original Message -----
From: "Etienne ALAURENT" <[etienne--alaurent--free--fr]>
To: <[rebol-list--rebol--com]>
Sent: Thursday, May 09, 2002 10:15 PM
Subject: [REBOL] Re: Graph Drawing & /View Performance
> Hi, Richard,
>
> I don't see any difference about exec speed between your 2 scripts.
> But, it's very interesting to know it's better to use one 'show for
> whole window than a 'show for every sub-face.
>
Well, you have probably very fast comupter ;-) I tried it on 533MhzCeleron
and the http://www.rebol.cz/~cyphre/draw-tutor-2.r is at least is twice as
faster than http://www.rebol.cz/~cyphre/draw-tutor-2orig.r
If you want, try to increase the number of objects in this line in both
scripts:
pane: reduce join [game/my-tank ] array/initial 5 [game/cpu-tank]
||
the "5" is number of
cpu-driven tanks
regards,
Cyphre