On Wed, May 13, 2015 at 10:17 PM, Alexander Korotkov <aekorot...@gmail.com> wrote:
> One quick comment: >> >> It would be good to avoid the extra comparisons of the distances, when >> the index doesn't return any lossy items. As the patch stands, it adds one >> extra copyDistances() call and a cmp_distances() call for each tuple (in a >> knn-search), even if there are no lossy tuples. > > > I will fix it until Friday. > Attached patch is rebased against current master. Extra extra copyDistances() call and a cmp_distances() call for each tuple are avoided in the case of no lossy tuples. ------ With best regards, Alexander Korotkov.
knn-gist-recheck-9.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers