locating a 1Mi bit needle near the end of a 1GiB buffer of random bits
Have you considered that using random test data may not be a good idea. You are never going to generate the performance-degrading worst cases.
For instance, it is very unlikely that you will find partial needle matches longer than a few bits.
In reply to Re^7: [OT] The interesting problem of comparing bit-strings.
by salva
in thread [OT] The interesting problem of comparing bit-strings.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |