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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Optimize PL/Perl function argument passing [PATCH]
Date: 2010-12-07 15:00:28
Message-ID: 4CFE4C0C.5030808@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2010-12-07 15:02:53 Re: Feature request - CREATE TYPE ... WITH OID = oid_number.
Previous Message Euler Taveira de Oliveira 2010-12-07 14:31:14 Re: To Signal The postmaster