diskann-quantization 0.51.0

DiskANN is a fast approximate nearest neighbor search library for high dimensional data
Documentation
1
2
3
4
5
6
7
8
9
10
error[E0499]: cannot borrow `x` as mutable more than once at a time
  --> tests/compile-fail/mut_borrow.rs:14:5
   |
12 |     let mut slice = MutBitSlice::<8, Unsigned>::new(x.as_mut_slice(), 3).unwrap();
   |                                                     - first mutable borrow occurs here
13 |     slice.set(0, 0).unwrap();
14 |     x[1] = 1;
   |     ^ second mutable borrow occurs here
15 |     slice.set(2, 2).unwrap();
   |     ----- first borrow later used here