File tree Expand file tree Collapse file tree
SQLite3MultipleCiphers/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85674,7 +85674,8 @@ void blobSpotFree(BlobSpot *pBlobSpot);
8567485674/*
8567585675 * Accessor for node binary format
8567685676 * - default format is the following:
85677- * [u64 nRowid] [u16 nEdges] [2 byte padding] [node vector] [edge vector] * nEdges [trash vector] * (nMaxEdges - nEdges) ([u32 unused] [f32 distance] [u64 edgeId]) * nEdges
85677+ * [u64 nRowid] [u16 nEdges] [6 byte padding] [node vector] [edge vector] * nEdges [trash vector] * (nMaxEdges - nEdges) ([u32 unused] [f32 distance] [u64 edgeId]) * nEdges
85678+ * Note, that 6 byte padding after nEdges required to align [node vector] by word boundary and avoid unaligned reads
8567885679 * Note, that node vector and edge vector can have different representations (and edge vector can be smaller in size than node vector)
8567985680*/
8568085681int nodeEdgesMaxCount(const DiskAnnIndex *pIndex);
Original file line number Diff line number Diff line change @@ -85674,7 +85674,8 @@ void blobSpotFree(BlobSpot *pBlobSpot);
8567485674/*
8567585675 * Accessor for node binary format
8567685676 * - default format is the following:
85677- * [u64 nRowid] [u16 nEdges] [2 byte padding] [node vector] [edge vector] * nEdges [trash vector] * (nMaxEdges - nEdges) ([u32 unused] [f32 distance] [u64 edgeId]) * nEdges
85677+ * [u64 nRowid] [u16 nEdges] [6 byte padding] [node vector] [edge vector] * nEdges [trash vector] * (nMaxEdges - nEdges) ([u32 unused] [f32 distance] [u64 edgeId]) * nEdges
85678+ * Note, that 6 byte padding after nEdges required to align [node vector] by word boundary and avoid unaligned reads
8567885679 * Note, that node vector and edge vector can have different representations (and edge vector can be smaller in size than node vector)
8567985680*/
8568085681int nodeEdgesMaxCount(const DiskAnnIndex *pIndex);
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ void blobSpotFree(BlobSpot *pBlobSpot);
6565/*
6666 * Accessor for node binary format
6767 * - default format is the following:
68- * [u64 nRowid] [u16 nEdges] [2 byte padding] [node vector] [edge vector] * nEdges [trash vector] * (nMaxEdges - nEdges) ([u32 unused] [f32 distance] [u64 edgeId]) * nEdges
68+ * [u64 nRowid] [u16 nEdges] [6 byte padding] [node vector] [edge vector] * nEdges [trash vector] * (nMaxEdges - nEdges) ([u32 unused] [f32 distance] [u64 edgeId]) * nEdges
69+ * Note, that 6 byte padding after nEdges required to align [node vector] by word boundary and avoid unaligned reads
6970 * Note, that node vector and edge vector can have different representations (and edge vector can be smaller in size than node vector)
7071*/
7172int nodeEdgesMaxCount (const DiskAnnIndex * pIndex );
You can’t perform that action at this time.
0 commit comments