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

In reply to Re^12: Speeding up RecDesent parser for Perl Code by Outaspace
in thread Speeding up RecDesent parser for Perl Code by Outaspace

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.