Re: Re length <Correction>

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu