in reply to Re^2: Benchmarking "Are all these characters in this sentence?"
in thread Benchmarking "Are all these characters in this sentence?"
The 0 prematurely ends the while loop without checking for a 0 in the sentence (or any earlier characters in the wantedLetters string), so they return 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Benchmarking "Are all these characters in this sentence?"
by RMGir (Prior) on Sep 01, 2008 at 17:14 UTC | |
by BrowserUk (Patriarch) on Sep 01, 2008 at 18:24 UTC | |
by RMGir (Prior) on Sep 01, 2008 at 18:35 UTC | |
by BrowserUk (Patriarch) on Sep 01, 2008 at 19:20 UTC | |
by RMGir (Prior) on Sep 02, 2008 at 01:30 UTC | |
|