What does the pgvector HALFVEC type provide compared to VECTOR?
- A Support for binary quantized vectors
- B Half-precision (16-bit float) storage, halving memory use for embeddings (correct answer)
- C Integer quantization
- D Sparse vector support
Shortcut: HALFVEC stores embeddings as 16-bit floats (FP16) instead of 32-bit, halving storage and memory requirements with minimal impact on similarity search quality.