lane@sumex-aim.stanford.edu (Christopher Lane) (03/01/90)
For those who found the PrimeSpiral application I posted earlier this week to be interesting/amusing, here's an optimization that will reduce the time it takes to complete the default 400x400 window from 90 sections to 60 seconds. In the file SpiralOps.psw, change the definition of PSdrawAt to be: defineps PSdrawAt (float x, y) x y 1 1 PlusD compositerect endps and (re)make the application. I'll wait on posting the modified application to see if other people come up with other speed optimizations (this one came to me in my sleep last night--NeXT programming gets that way). - Christopher -------