diskann-inmem 0.56.0

DiskANN3 is a composable library for bringing scalable, accurate and cost-effective vector indexing to multiple databases.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) Microsoft Corporation.
 * Licensed under the MIT license.
 */

/// A snapshot of global [`Counters`](crate::counters::Counters).
#[derive(Debug, Clone)]
#[non_exhaustive]
pub struct CounterSnapshot {
    pub query_distance: u64,
    pub distance: u64,
    pub get_vector: u64,
    pub set_vector: u64,
    pub get_neighbors: u64,
    pub set_neighbors: u64,
    pub append_neighbors: u64,
}