Re: GiST kNN search queue (Re: KNN-GiST with recheck) - Mailing list pgsql-hackers

From Andres Freund
Subject Re: GiST kNN search queue (Re: KNN-GiST with recheck)
Date
Msg-id 20141215131426.GH5023@alap3.anarazel.de
Whole thread Raw
In response to Re: GiST kNN search queue (Re: KNN-GiST with recheck)  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: GiST kNN search queue (Re: KNN-GiST with recheck)
List pgsql-hackers
On 2014-12-15 15:08:28 +0200, Heikki Linnakangas wrote:
> +/*-------------------------------------------------------------------------
> + *
> + * pairingheap.c
> + *      A Pairing Heap implementation
> + *
> + * Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
> + *
> + * IDENTIFICATION
> + *      src/backend/lib/pairingheap.c
> + *
> + *-------------------------------------------------------------------------
> + */

> diff --git a/src/include/lib/pairingheap.h b/src/include/lib/pairingheap.h
> new file mode 100644
> index 0000000..e78196d
> --- /dev/null
> +++ b/src/include/lib/pairingheap.h
> @@ -0,0 +1,67 @@
> +/*
> + * pairingheap.h
> + *
> + * A Pairing Heap implementation
> + *
> + * Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
> + *
> + * src/include/lib/pairingheap.h
> + */
> +

If we add another heap implementation we probably should at least hint
at the different advantages somewhere.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Commit fest 2014-12, let's begin!
Next
From: Heikki Linnakangas
Date:
Subject: Re: speedup tidbitmap patch: hash BlockNumber