Re: Optimize PL/Perl function argument passing [PATCH]

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tim Bunce <Tim.Bunce@pobox.com>
Cc: pgsql-hackers@postgresql.org
Date: 2010-12-07T15:00:28Z
Lists: 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