in reply to Re^2: improving speed in ngrams algorithm
in thread improving speed in ngrams algorithm

The OP didn't ask about "easy" but "speed".

I'm sure there are already ready to use C programs for this available.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^3: improving speed in ngrams algorithm