Please can you include your profiler results.

Cheers
Nigel

---
"No man is an island... except Philip"


On Mon, Jul 1, 2013 at 12:51 AM, Li Dong <[email protected]> wrote:

> Dear all,
>
> After several hard working days, I have implemented a Fortran parser.
> Although
> it is still incomplete, the most thing that I am worrying about is the
> performance. I have tried it on a Fortran code with 2000+ lines, and it
> took
> around 20 seconds on my MacBook Pro for parsing. This can not be
> practical. So
> I should optimize the parser, but I have no idea where to start, and which
> parts should be heavily optimized.
>
> The parser is located in htt 
> ps://gist.github.com/dongli/5791976<https://gist.github.com/dongli/5791976>,
> and the example
> can be run as:
>
>     rspec rspec_fortran_parser.rb
>
> Any idea is appreciated!
> Best regards,
>
> Li
>
>

Reply via email to