On Wed, 2007-06-13 at 18:07 -0400, Charlie Brady wrote: > > 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.
Sorry - bad punctuation on my part. > > 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. Perhaps "nearly as fast" - C compilers are *very* good at optimization. -- --gh
