Re: KNN-GiST with recheck
От | Michael Paquier |
---|---|
Тема | Re: KNN-GiST with recheck |
Дата | |
Msg-id | CAB7nPqTODFCmHEU9MfQUmNuWX8VsJFS25=ptNqw0ew6FdZOOww@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: KNN-GiST with recheck (Heikki Linnakangas <hlinnakangas@vmware.com>) |
Список | pgsql-hackers |
On Tue, Jan 28, 2014 at 10:54 PM, Heikki Linnakangas <hlinnakangas@vmware.com> wrote: > 1. This patch introduces a new "polygon <-> point" operator. That seems > useful on its own, with or without this patch. This patch is tracked with this entry in the commit fest app and is marked as "Ready for committer". Hence I am moving this specific part to 2014-12 to keep track of it: > 3. A binary heap would be a better data structure to buffer the rechecked > values. A Red-Black tree allows random insertions and deletions, but in this > case you need to insert arbitrary values but only remove the minimum item. > That's exactly what a binary heap excels at. We have a nice binary heap > implementation in the backend that you can use, see > src/backend/lib/binaryheap.c. Based on those comments, I am marking this entry as returned with feedback: https://commitfest.postgresql.org/action/patch_view?id=1367 Heikki has sent as well a new patch to use a binary heap method instead of the red-black tree here: http://www.postgresql.org/message-id/54886BB8.9040000@vmware.com IMO this last patch should be added in the CF app, that's not the case now. Regards, -- Michael
В списке pgsql-hackers по дате отправления: