> You could use my favorite new algorithm for smoothing values between > 0-1. It gets rid of the cos. Nice! Thankyou! > I would assume psyco would have good results on this type of code as > well. I'm not sure psyco will optimize generators... there is something in docs about not coping with 'YIELD_VALUE' bytecode... hmmm. Sw.