in reply to Re^10: Speeding up RecDesent parser for Perl Code
in thread Speeding up RecDesent parser for Perl Code

But you *did* complain that it was slow to parse 3000 lines, so clearly it's not your preferred option.
  • Comment on Re^11: Speeding up RecDesent parser for Perl Code

Replies are listed 'Best First'.
Re^12: Speeding up RecDesent parser for Perl Code
by Outaspace (Scribe) on Sep 11, 2006 at 11:15 UTC
    Hi,

    this is a little bit of a misunderstanding here. My question was: How can I speed up my parser ? Even if I refactore my main modul and it ends up under those 3000 lines there would be some Perl Moduls (CGI.pm, CPAN.pm and some more) that have over 3000 lines allready and I want to parse them too. I currently use a different Text Editor, which has no problems with that much lines, but in the IDE I write currently it takes some seconds on my system to parse "large" files.
    Now I started looking at the PPI Modul which is a lot faster than the RecDescent Modul, so this is the way to go for me (also will refactor, but have many other things to do first and such little time).

    Humble,

    Andre
      Ok, well that's interesting to know that PPI is significantly faster.