I've started digging and found this little algorithm called Aho-Corasick, its a nice algorithm that finds multiple keywords in a document.
Immediately after, I've found out that Tomas Petricek already implemented it in C# and the performance was better than the requirements, allowing for expansion.
So thanks Tomas!
Taken from CodeProject |