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

From Tim Bunce
Subject Optimize PL/Perl function argument passing [PATCH]
Date
Msg-id 20101207142417.GO89294@timac
Whole thread Raw
Responses Re: Optimize PL/Perl function argument passing [PATCH]  (Andrew Dunstan <andrew@dunslane.net>)
Re: Optimize PL/Perl function argument passing [PATCH]  (Alex Hunsaker <badalex@gmail.com>)
List pgsql-hackers
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.

Tim.

Attachment

pgsql-hackers by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: To Signal The postmaster
Next
From: Andrew Dunstan
Date:
Subject: Re: Optimize PL/Perl function argument passing [PATCH]