J
jagonzal
Hi,
I have a bunch of String of fixed length, and a function F such that
F(String) returns one of a small set of possible values.
Right now the work is being done with regular expressions - it does the
job (identify patterns that result in a given return value) but it is
quite heavy in CPU terms, and this operation must be done at a peak of
100 hits per second.
Any ideas on an alternative to the regexps?
(the possible fixed length strings are about 100000)
Thanks in advance,
JGN
I have a bunch of String of fixed length, and a function F such that
F(String) returns one of a small set of possible values.
Right now the work is being done with regular expressions - it does the
job (identify patterns that result in a given return value) but it is
quite heavy in CPU terms, and this operation must be done at a peak of
100 hits per second.
Any ideas on an alternative to the regexps?
(the possible fixed length strings are about 100000)
Thanks in advance,
JGN