Re: Re length <Correction>
- Posted by Colin Taylor <ctaylor at RACSA.CO.CR> Jan 21, 2001
- 483 views
Euman wrote: > I moved the len = length(seq) out of your for loops and > proved that saveing the value of length is the faster method.. The statement len = length(seq) should be placed within the outer timing loop, since there may be a time cost associated with it. I get the same time result for both methods, which makes me think that Euphoria has the sequence length saved as an internal variable, which can be accessed just as fast as any other variable. - Colin Taylor