• Sergei Golubchik's avatar
    mhnsw: store coordinates in 16 bits, not 32 · 48f4e9f9
    Sergei Golubchik authored
    use int16_t instead of floats, they're faster and smaller.
    but perform intermediate SIMD calculations with floats to avoid overflows.
    recall drop with such scheme is below 0.002, often none.
    
    int8_t would've been better but the precision loss is too big
    and recall degrades too much.
    48f4e9f9
vector_mhnsw.cc 37.1 KB