in reply to Speeding up RecDesent parser for Perl Code

PRD works by "nibbling", and this is OK for little strings, but horrible for big ones. There's no fix. Damian has had an eternal "todo" to create Parse::FastDescent, but it is unlikely that he will ever get enough tuits for that.

So you must either figure out how to parse less at a time, or switch to something other than PRD.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re: Speeding up RecDesent parser for Perl Code

Replies are listed 'Best First'.
Re^2: Speeding up RecDesent parser for Perl Code
by adamk (Chaplain) on Sep 04, 2006 at 22:01 UTC
    I believe Parse::FastDecent has been renamed to Perl 6 Rules :)