in reply to Re: Performance Tuning: Searching Long-Sequence Permutations
in thread Performance Tuning: Searching Long-Sequence Permutations
You keep computing the length of $sub every iteration, even though it's static.length() is a property of a string and does not require computation. Remember, this is not C.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Performance Tuning: Searching Long-Sequence Permutations
by BrowserUk (Patriarch) on Jun 27, 2003 at 11:20 UTC | |
by diotalevi (Canon) on Jun 27, 2003 at 11:37 UTC | |
by BrowserUk (Patriarch) on Jun 27, 2003 at 12:01 UTC | |
by diotalevi (Canon) on Jun 27, 2003 at 12:03 UTC |