[Top][All Lists]

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

Re: Comments in %union processed incorrectly

From: Akim Demaille
Subject: Re: Comments in %union processed incorrectly
Date: 03 Jan 2002 10:13:23 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "Hans" == Hans Aberg <address@hidden> writes:

>> I suspect that it was done with separate stacks originally for
>> performance reasons.  Those reasons may no longer apply these days,
>> but I would measure any performance degradation (if any) due to
>> this change before installing it.

Hans> I think that performance might go up if one is using only one
Hans> stack, but perhaps it was different on the machines of past with
Hans> little memory. (I think that in original Bison, the was no stack
Hans> policy implemented, so that fixed separate stacks would not hit
Hans> performance; there is then little extra time in incrementing
Hans> more than one stack pointer.)

Of course there were stacks.  No one would ever want of a
recognizer-generator, people want a parser-generator!

reply via email to

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