On Wed, 13 Jun 2007, Guy Hulbert wrote:

On Wed, 2007-06-13 at 22:32 +0200, Rasmus Skaarup wrote:
Guy Hulbert wrote:

 data-collecting tools. Many largescale installations produce GB's of
logfiles, and the small binary file that actually searches through the

The GB of logfiles explains why you are interested in performance, as
Charlie Brady pointed out.

Not exactly. I pointed to a note that lex/yacc was used for performance reasons. I didn't say anything about GB of logfiles.

I don't think a lex/yacc parser will necessarily parse faster than a perl parser, so I don't think that GB of logfiles would justify writing a parser in C. Frequent executation of a parser OTOH might. A perl parser will very likely be slower to start up, but might execute just as fast once running.

Reply via email to