Re: New rtrim()
- Posted by Igor Kachan <kinz at peterlink.ru> Sep 14, 2001
- 425 views
Colin, > > Igor Kachan wrote: > > > > > Yes, Colin, this function is not the noticeable > > one for the putsxy.e perfomance. > > > > But try please the test below. > > > > Igor, > > Your test program always returns an empty sequence > instead of a slice, I have tested S=repeat({1,1}&repeat(0,1000),1000) just now. Result is 10.27 with rtrim_() 14.34 with rtrim() > because your test sequences contain only zeros. > This isn't a realistic > test, and it gives you an artificially fast score > for your version of > rtrim(). I think, this test is just the hardest for such the program. <snip> Don't worry, use, thing is good enough and very well tested now Regards, Igor Kachan kinz at peterlink.ru