Re: Calling conventions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Cc: Matthew Wakeling <matthew(at)flymine(dot)org>
Subject: Re: Calling conventions
Date: 2009-07-17 15:32:12
Message-ID: 200907171832.13082.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Friday 17 July 2009 16:40:40 Matthew Wakeling wrote:
> I'm considering rewriting a postgres extension (GiST index bioseg) to make
> it use version 1 calling conventions rather than version 0.
>
> Does anyone have any ideas/opinions/statistics on what the performance
> difference is between the two calling conventions?

Version 1 is technically slower if you count the number of instructions, but
considering that everyone else, including PostgreSQL itself, uses version 1,
and version 0 has been deprecated for years and will break on some
architectures, it should be a no-brainer.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Matthew Wakeling 2009-07-17 16:09:22 Re: Calling conventions
Previous Message Kevin Grittner 2009-07-17 15:26:36 Re: cluster index on a table