[REBOL] Re: Graph Drawing & /View Performance
From: chris:langreiter at: 7-May-2002 21:54
#Bonjour Romano,
> I think you should use a dinamic draw block, to-image is too slow.
> Draw lines on a background face with something like
> effect: [draw [lines...]
> and change the effect at every frame. The clear of old lines comes for free,
> when you change the effect, you are deleting the old draw instructions.
Actually I have tried this solution, with the somehwat startling
effect that it was probably the slowest variant of 'em all. the
(cumbersome IMO) to-image method is way way faster.
I'll now try Larry's Bresenham, though I've read somewhere that draw
was supposed to be way faster (5x?). On va voir.
The speed penalty seems to be introduced by the sheer existence of the
'effect' ...
Something's weird here.
-- Chris