You're pre-shifting the entire haystack and/or entire needle to align them before searching? (And not counting the time that takes?)
In reply to Re^16: [OT] The interesting problem of comparing (long) bit-strings.
by BrowserUk
in thread [OT] The interesting problem of comparing bit-strings.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |