Re: [go-nuts] Re: How to speed up execution time for a set of regular expressions

2016-12-13 Thread Michael Jones
I like regular expressions, but I always think of them as a last resort, sort of like finding your way through a labyrinth by feel. When you know more about the structure of the mystery -- "keep your left hand on the wall" or "spaces separate tokens"-- then other tools and approaches can help

[go-nuts] Re: How to speed up execution time for a set of regular expressions

2016-12-13 Thread David Sofo
Thanks Tamas. I am not aware of Ragel. Regard David Le mardi 13 décembre 2016 20:24:18 UTC+1, Tamás Gulácsi a écrit : > > 2016. december 13., kedd 16:53:45 UTC+1 időpontban David Sofo a következőt > írta: >> >> Hi, >> >> For a set of rules expressed in regular expression (around 1000 rules >>

[go-nuts] Re: How to speed up execution time for a set of regular expressions

2016-12-13 Thread Tamás Gulácsi
2016. december 13., kedd 16:53:45 UTC+1 időpontban David Sofo a következőt írta: > > Hi, > > For a set of rules expressed in regular expression (around 1000 rules > expected) to find some keywords in a text file (~50Ko each file), how to > speed up the execution time. Currently I compile the