bison-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Use a static hierarchy for symbols in the C++ parser.


From: Akim Demaille
Subject: Re: [PATCH] Use a static hierarchy for symbols in the C++ parser.
Date: Mon, 10 Nov 2008 10:54:43 +0100


Le 4 août 08 à 21:54, Akim Demaille a écrit :

        * data/lalr1.cc (symbol_base_type, symbol_type)
        (stack_symbol_type): Make it a static hierarchy.
        Adjust dependencies.

The point of this change is to avoid the cost of dynamic dispatch, while keeping the benefits of hierarchies to factor comment interfaces/ code. I don't remember the speed up compared to the virtual-based version.





reply via email to

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