News for hackers. Stuff that matters.
Re:Show HN: We built a fast substring search engine in Go by fleitz on Thursday August 29, 2013 @08:27PM (#6299478)
4MB? Wouldn't boyer-moore, or a trie be very efficient for this?
Re:Show HN: We built a fast substring search engine in Go by thedufer on Friday August 30, 2013 @12:29AM (#6300265)
boyer-moore doesn't make sense if you're searching the same data set over and over again - it doesn't do any pre-processing on the data, which is why it can't be better than linear time.