develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH] C Callbacks, try #3

Thread Previous | Thread Next
From:
David M. Lloyd
Date:
August 28, 2001 08:43
Subject:
Re: [PATCH] C Callbacks, try #3
Message ID:
Pine.LNX.4.33.0108281029060.2398-100000@homebody.freemm.org
On Tue, 28 Aug 2001, Nick Ing-Simmons wrote:

> David M . Lloyd <dmlloyd@tds.net> writes:
> >On Sat, 25 Aug 2001, Nick Ing-Simmons wrote:
> >
> >> >So just applying the patch causes a slowdown of about 7%,
> >>
> >> We need to explain that.
> >
> >I'm at a loss.  The only difference is that the body of the 'if' is
> >longer.
>
> Does reading generated assembly code shed any light...

I haven't had time to do the comparison.  I may not bother, since I am
rather discouraged with this line of development... I think that
inter-statement hooks are more realistic given what I'm trying to do.

> >
> >> 7% is a heck of a lot to pay for a feature I am not using! But I am
> >> surprised it changes that much.
> >>
> >> Are PL_sig_pending vs PL_event_pending different classes of variable ?
> >
> >Nope, they are both ints.
>
> I did not mean 'type' - I meant global vs per-interp vs per-thread vs ...

Sorry... they are both per-interpreter variables.

- D

<dmlloyd@tds.net>


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About