Improved memory calculation for HNSW and removed vector-specific code

This commit is contained in:
Andrew Kane
2023-11-09 16:21:26 -08:00
parent a01a72d812
commit 3f3463bde5
2 changed files with 24 additions and 19 deletions

View File

@@ -163,7 +163,7 @@ typedef struct HnswBuildState
HnswElement entryPoint;
double ml;
int maxLevel;
double maxInMemoryElements;
long memoryLeft;
bool flushed;
Vector *normvec;