On 7/16/2011 4:41 PM, Willy Martinez wrote:
auto needle = boyerMooreFinder(args[1]);
I'm confused. Boyer-Moore is when you want to find two or more elements efficiently in a range. When you create a BoyerMooreFinder you give it a range of elements it should search for. When you give it args[1] you are giving it a string which is immutable(char)[], or a range of characters. So if args[1] = "123" you're saying "search for 1, 2, or 3".
Are you actually trying to search for multiple elements at the same time?