speed

Jean Brouwers JBrouwersAtProphICyDotCom at no.spam.net
Fri Aug 20 14:39:31 EDT 2004


Another Python parser generator to look into is SimpleParse/mxTextTools

  <http://simpleparse.sourceforge.net/>

We use it to parse and process large log files.  In our case, a typical
grammar contains over 250 productions and parsing a log file of 180
Klines (100 MB) takes approx 3 min.  Processing the result from the
parse step requires an additional 3 mins.  This on a 2.4 GHz Xeon
machine running RedHat 8.

Obviously these figures are very grammar and application specific. Your
milage may vary.

/Jean Brouwers

PS) A good reference is David Mertz' book "Text Processing in Python"

  <http://www.informit.com/title/0321112547>

or several articles on (t)his web page

  <http://gnosis.cx/publish/tech_index_cp.html>




In article <mailman.1992.1092961376.5135.python-list at python.org>, Ayose
<ayose.cazorla at hispalinux.es> wrote:

> <http://systems.cs.uchicago.edu/ply/>.



More information about the Python-list mailing list