Resurrection of whiteknight's eval_pmc branch

Andrew Whitworth wknight8111 at
Mon Feb 18 00:11:57 UTC 2013

I haven't looked at gerdr's particular patch. My original formulation
was intended to be a drop-in replacement for the Eval PMC.

Because the PackfileView PMC version avoids nested runloops for :init
and :load Subs, the new version should be faster. I had clocked it at
one point to demonstrate a non-negligible performance bump for
compilation. As gerdr points out, the size of the bump may vary (but
I've never seen the new version run more slowly).

--Andrew Whitworth

On Sun, Feb 17, 2013 at 12:12 PM, Patrick R. Michaud <pmichaud at> wrote:
> On Sun, Feb 17, 2013 at 05:32:14PM +0100, Gerhard R. wrote:
>> He opened a corresponding Rakudo pull request 10 months ago, but was
>> largely ignored because it (slightly) complicated the NQP side of
>> things without providing additional value.
>> I now added a --target=pbc frontend to both NQP and Rakudo (see
>> ) so a two-step build
>> process of modules is no longer necessary.
> Is there an updated pull request for NQP?  The old request
> at can no longer be
> automatically merged.
> In general, there seem to be a lot of references to ".main_sub"
> in the NQP patch that I'm thinking shouldn't be there, or should
> be called something else.
> Looking at Rakudo #102, I'm a little concerned that the patch seems
> to assume that $precomp.main_sub() is an equivalent replacement
> to the old $precomp[0]... if I understand the eval_pmc branch
> correctly, that's not necessarily the case.
> Pm
> _______________________________________________

More information about the parrot-dev mailing list