emacs-devel
[Top][All Lists]
Advanced

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

Re: Inefficiency in Bgotoifnil byte-code instruction


From: Tom Tromey
Subject: Re: Inefficiency in Bgotoifnil byte-code instruction
Date: Fri, 06 Jul 2012 14:27:47 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Stefan> There's a lot of room for improvement in the regexp-matcher as
Stefan> well, yes.  If we could generate the code via something like
Stefan> vmgen it would be even better.

Yeah.  Translating the bytecode engine to vmgen is not trivial, but at
first blush it seems doable.  This would have a few possible advantages
-- TOS caching, superinstructions, possibly better micro-optimization.

I didn't look at the regexp matcher with this in mind.


It also occurred to me recently that the computed goto treatment could
perhaps be applied to mark_object.

Tom



reply via email to

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