Re: Is this leaking?

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

From:    Robert Craig

>The loop takes time (roughly) proportional to
>the *square* of length(s). I timed it for various lengths of s:
[...]
>So when you jumped from 1017 to 115,444, you should
>expect the time to increase by a factor of 12885. On a P-150
>you're probably looking at close to an hour.

    That makes sense.  I should have known to try timing it, but I didn't
even think about it.   Ordinarily, as in the optimized case, Euphoria's so
fast that the time would be insignificant for what I'm doing.  That really
does show off the optimizations...from an hour down to a second.  Thanks for
the quick reply.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu