mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-17 17:54:32 +08:00
Simplified code
This commit is contained in:
@@ -100,8 +100,6 @@
|
|||||||
extern int hnsw_ef_search;
|
extern int hnsw_ef_search;
|
||||||
extern bool hnsw_enable_parallel_build;
|
extern bool hnsw_enable_parallel_build;
|
||||||
|
|
||||||
typedef struct HnswNeighborArray HnswNeighborArray;
|
|
||||||
|
|
||||||
typedef struct HnswElementData
|
typedef struct HnswElementData
|
||||||
{
|
{
|
||||||
slist_node next;
|
slist_node next;
|
||||||
@@ -110,7 +108,7 @@ typedef struct HnswElementData
|
|||||||
uint8 level;
|
uint8 level;
|
||||||
uint8 deleted;
|
uint8 deleted;
|
||||||
uint32 hash;
|
uint32 hash;
|
||||||
HnswNeighborArray *neighbors;
|
struct HnswNeighborArray *neighbors;
|
||||||
BlockNumber blkno;
|
BlockNumber blkno;
|
||||||
OffsetNumber offno;
|
OffsetNumber offno;
|
||||||
OffsetNumber neighborOffno;
|
OffsetNumber neighborOffno;
|
||||||
|
|||||||
Reference in New Issue
Block a user