Re: Euphoria 2.4 Alpha-test Release!
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 24, 2003
- 481 views
The following code takes twice as long to run with 2.4 than 2.3 ------------ include machine.e tick_rate(1000) -- Improves precision of time() sequence v v = {} atom e e =time() for i = 1 to 10000000 do -- wait til I get a few elements before dropping them. if i > 1000 then -- Drop first element. v = v[2..length(v)] end if -- Append new element v &= 1 end for ? time()-e atom m -- Cause a pause ------------ However, as the difference is only 2.5 seconds over 10 million iterations, I can live with it. cheers, Derek