Re: killing birds
- Posted by "BABOR, JIRI" <J.Babor at GNS.CRI.NZ> Sep 18, 1998
- 457 views
Hawke, You just dispatched not just two, but THREE birds with one stray bullet! You also killed the goose that lays the golden eggs: Euphoria Instead of your, relative short code for a=0 to 256 do for y=0 to 39 do pixel(a,{a,y}) end for end for try a bit longer but much faster sequence colors colors=repeat(0,256) for i=1 to 256 do colors[i]=i-1 end for for i=0 to 39 do pixel(colors,{0,i}) end for which uses the pixel routine less often with a huge speed gain. Also you could tell the newbie, where to find select.e (DEMO subdirectory). jiri