Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Graph Drawing & /View Performance

From: etienne:alaurent:free at: 9-May-2002 22:15

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. Cyphre wrote:
>Hi Romano and all, > >>From my experience: > >-use "show f" on each face when you need refresh small parts of window but >don't use it when you need show lot of small faces >-using one "show f" for whole window is better when you are controling more >faces in the window at the same time...then you rather use 'redraw function >in each small face instead of 'enagage > >you can see the performance difference in following examples: > >http://www.rebol.cz/~cyphre/draw-tutor-2orig.r - this script uses method of >refreshing each object face separately > >http://www.rebol.cz/~cyphre/draw-tutor-2.r - this script uses method of one >global 'show of the whole window area > >regards, > >Cyphre > >----- Original Message ----- >From: "Romano Paolo Tenca" <[rotenca--telvia--it]> >To: <[rebol-list--rebol--com]> >Sent: Wednesday, May 08, 2002 9:46 PM >Subject: [REBOL] Re: Graph Drawing & /View Performance > >>Hi Christian, >> >>>(The lapse I made before was that I had an "show f" in the >>>node-face!'s engage function - there none was due. I probably have to >>>reread the chapter in "/View in 21 Days" on where to put stuff like >>>this - oh well ;-) >>> >>I have tryed many show position/combination, also tryed hardware move >> >with > >>changes: 'offset, but >> >> show window >> >>in this case was the best solution (i do not know why). I do not think >> >there > >>is some good doc about show use, but if something is slow often the reason >> >is > >>a great number of (and often also duplicate) show calling. >> >>--- >>Ciao >>Romano >> >> >> >>-- >>To unsubscribe from this list, please send an email to >>[rebol-request--rebol--com] with "unsubscribe" in the >>subject, without the quotes. >> >> >> >
-- regards. --- Etienne