Re: Optimize PL/Perl function argument passing [PATCH] - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Optimize PL/Perl function argument passing [PATCH]
Date
Msg-id 4CFE4C0C.5030808@dunslane.net
Whole thread Raw
In response to Optimize PL/Perl function argument passing [PATCH]  (Tim Bunce <Tim.Bunce@pobox.com>)
Responses Re: Optimize PL/Perl function argument passing [PATCH]  (Tim Bunce <Tim.Bunce@pobox.com>)
List pgsql-hackers

On 12/07/2010 09:24 AM, Tim Bunce wrote:
> Changes:
>
>      Sets the local $_TD via C instead of passing an extra argument.
>      So functions no longer start with "our $_TD; local $_TD = shift;"
>
>      Pre-extend stack for trigger arguments for slight performance gain.
>
> Passes installcheck.
>

Please add it to the January commitfest.  Have you measured the speedup 
gained from this?

Do you have any more improvements in the pipeline?

cheers

anrew


pgsql-hackers by date:

Previous
From: Tim Bunce
Date:
Subject: Optimize PL/Perl function argument passing [PATCH]
Next
From: Merlin Moncure
Date:
Subject: Re: Feature request - CREATE TYPE ... WITH OID = oid_number.