Re: [Pyparsing] Incremental parsing with no gaps between parsed ranges?
Brought to you by:
ptmcg
From: <pt...@au...> - 2014-10-27 16:33:24
|
Before you go too far down this path, try enabling packrat parsing, which should help both performance and memory footprint. Right after importing pyparsing, add this line: ParserElement.enablePackrat() -- Paul ---- Dan Lenski <dl...@gm...> wrote: > I'm using PyParsing to parse some rather large text files with a C-like > format (braces and semicolons and all that). PyParsing works just great, > but it is slow and consumes a very large amount of memory due to the > size of my files. > |