FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Programs
(Moderators: fry, REAS)
   off-screen speed optimization
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: off-screen speed optimization  (Read 396 times)
Euskadi


off-screen speed optimization
« on: Jan 15th, 2004, 2:39am »

Looking to optimize performance --  
 
I'm displaying a list of values that change each loop().  I scroll through the list using a scroll-bar. Would speed be increased if I do a calculation for each item in the list to see if the row is outside the viewable applet window? I'm wondering if there is speed gain to be had here, or if P5 already does that check and I'd be wasting my time
 
Bijeoma

myloveiloved
Re: off-screen speed optimization
« Reply #1 on: Jan 15th, 2004, 3:06am »

are you using the hscrollbar class or any other scrollbar class developed in the forum?
« Last Edit: Jan 15th, 2004, 3:07am by Bijeoma »  
Euskadi


Re: off-screen speed optimization
« Reply #2 on: Jan 16th, 2004, 1:31am »

I'm using the hscrollbar class from one of the examples, modified to be a vertical scrollbar.
 
Pages: 1 

« Previous topic | Next topic »