How product quantisation splits vectors into subvectors and compresses each with a codebook, cutting memory 8-64x while preserving search quality.