Re: all() and any() routines
- Posted by Ad Rienks <Ad_Rienks at COMPUSERVE.COM> Mar 22, 1997
- 1041 views
>In Euphoria version 1.5 you can call tick_rate(100) to get >a resolution of .01 seconds in the time() function. I'm ready to buy, tell me how. Bye Art Arthur P. Adamson, The Engine Man, euclid at mail.horandata.net You should buy it, but in the meantime you can download it from the Official Euphoria Homepage, and already use it. Ad Rienks. Hi Art, I really appreciate what you did in testing my code against that by Jeff Zeitlin. He has send me a note that he has seen my point and is going to update his code along the lines I suggested. But there is still one thing that keeps me wondering: can you, or maybe somebody else, explain the differences in speed when testing for '<, >, <=, >= and =' ? Could this be inexactness that can be eliminated by setting tick_rate() higher? Or is it something else? Are you running your program under Windows 95? In that case, maybe the Windows shell is also consuming time. I always run Euphoria programs from the DOS prompt. I myself will also test this again using tick_rate. BTW: Jeff said I should not complain about the speed of 100000 comparisons being done in tenths of seconds. Well, I don't. In fact, I keep being surprised with the speed at which Euphoria is doing calculations and comparisons on my now already 'oldfashioned' P75. Compliments again to RDS. ================================================================= Ad Rienks AdRienks at compuserve.com Does anyone have a suggestion for a nice signature?