bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slow compilation


From: Laurence Finston
Subject: Slow compilation
Date: Fri, 20 Aug 2004 15:26:21 +0200 (MEST)

Hello,

I've now removed all of the large blocks of code from the actions in my
parser, unless I've missed some.  However, while compilation is now
somewhat faster, it still takes about 5 minutes on a fast workstation with
two processors and not much competition from other users at present.

My parser now contains 508 rules and 755 states.
The actions that formerly contained large blocks of code now
contain some debugging output, a call to a function, and
code that checks whether the function was successful.  The others don't
contain much code.
Is it reasonable that compilation should take so long?
The next step would be to replace all code in every action with a
function call.  However, if the slow compilation isn't due to the code in
the actions, then this would be a waste of time.

I'd appreciate any advice from the Bison experts.

Laurence








reply via email to

[Prev in Thread] Current Thread [Next in Thread]