---
title: "Comment by Jans Aasman on \"My binary vector search is better than your FP32 vectors\" | Hashnode"
description: "Cool article. I understand how you transform the fp32 vector into a bitvector, but how do you do the nearest neighbor on the set of bit vectors to get the initi"
url: "https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3/comment/660c598b5755cdf04d9de708"
---

[Discussion](https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3)

Comment [My binary vector search is better than your FP32 vectors](https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3)

[Jans Aasman](https://hashnode.com/@jansaasman)

[Apr 2, 2024](https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3/comment/660c598b5755cdf04d9de708)

Cool article. I understand how you transform the fp32 vector into a bitvector, but how do you do the nearest neighbor on the set of bit vectors to get the initial 200 you describe in your article?. Do you use brute-force, or annoy, or something else?

[Ce Gao](https://hashnode.com/@gaocegege)

[Apr 3, 2024](https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3/comment/660c598b5755cdf04d9de708#reply-660cbb8004a7a17e2df86f71)

Still using HNSW to build an index for the bit vectors. It takes 0.6GB to store the indexes. In the experiment we use our own pgvecto.rs, the vector search extension in Postgres.
