emposha/Shell-Detector — pull request #2 by glic3rinu (2014-06-14 10:02:22+00:00)
Title: Precompute fingerprints regex expressions for performance

I've found that if you precompute all the fingerprint regular expressions you get a HUGE boost on performance:

from

real	0m42.765s
user	0m40.347s
sys	0m0.168s

to

real	0m5.536s
user	0m4.016s
sys	0m0.144s