diff --git a/src/ivfscan.c b/src/ivfscan.c index 7dfdf49..1ab1fc4 100644 --- a/src/ivfscan.c +++ b/src/ivfscan.c @@ -73,6 +73,7 @@ GetScanLists(IndexScanDesc scan, Datum value) } /* Sort by distance */ + /* TODO Use heap for performance */ qsort(so->lists, listCount, sizeof(IvfflatScanList), CompareLists); if (so->probes > listCount)