Fast compressed ANN search via randomized Hadamard transform and optimal Gaussian scalar quantization. Pure NumPy.