Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc5dd2af

Browse files
committed
Added comments [skip ci]
1 parent78b877b commitc5dd2af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/hnswutils.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,7 @@ HnswSearchLayer(char *base, HnswQuery * q, List *ep, int ef, int lc, Relation in
857857
{
858858
AddToVisited(base,v,sc->element,inMemory,&found);
859859

860+
/* OK to count elements instead of tuples */
860861
if (tuples!=NULL)
861862
(*tuples)++;
862863
}
@@ -889,6 +890,7 @@ HnswSearchLayer(char *base, HnswQuery * q, List *ep, int ef, int lc, Relation in
889890
else
890891
HnswLoadUnvisitedFromDisk(cElement,unvisited,&unvisitedLength,v,index,m,lm,lc);
891892

893+
/* OK to count elements instead of tuples */
892894
if (tuples!=NULL)
893895
(*tuples)+=unvisitedLength;
894896

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp