On Tue, May 05, 2009 at 03:15:09AM +0000, [email protected] wrote: > Author: chromatic > Date: Tue May 5 03:15:02 2009 > New Revision: 38477 > URL: https://trac.parrot.org/parrot/changeset/38477 > > Log: > [PMC] Revised MRO generation so that the (relatively expensive C3) MRO > resolution only occurs when absolutely necessary -- that is, when it differs > substantially from any parent's MRO. A class with no parents needs no MRO > calculation. A class with one parent can borrow its parent's MRO calculation.
Nice idea. I applied your insight to Perl 5, and got a 40% speed up for my single inheritance C3 benchmark. http://perl5.git.perl.org/perl.git/commit/b0413f463ee989f4bfc29e4a Nicholas Clark _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
