Skip site navigation (1) Skip section navigation (2)

Idea for minor tstore optimization

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Idea for minor tstore optimization
Date: 2008-02-27 20:33:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
I notice that several of the call sites of tuplestore_puttuple() start
with arrays of datums and nulls, call heap_form_tuple(), and then switch
into the tstore's context and call tuplestore_puttuple(), which
deep-copies the HeapTuple into the tstore. ISTM it would be faster and
simpler to provide a tuplestore_putvalues(), which just takes the datum
+ nulls arrays and avoids the additional copy.



pgsql-hackers by date

Next:From: manolo.espaDate: 2008-02-27 20:34:29
Subject: Re: [HACKERS] 2WRS [WIP]
Previous:From: Magnus HaganderDate: 2008-02-27 20:14:54
Subject: Re: OSSP can be used in the windows environment now!

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group