---
title: "Comment by Yuxin Xu on \"My binary vector search is better than your FP32 vectors\" | Hashnode"
description: "Can I ask how we got the calculation of \"can reduce memory usage by up to 32 times\"? Thank you! Been stuck in that step for a while not knowing why."
url: "https://hashnode.com/posts/my-binary-vector-search-is-better-than-your-fp32-vectors/65fd5c183e6b0a95b10ed2b3/comment/660b1fc8cc18b1ab406f1da7"
---

[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)

[Yuxin Xu](https://hashnode.com/@yxu)

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

Can I ask how we got the calculation of "can reduce memory usage by up to 32 times"? Thank you! Been stuck in that step for a while not knowing why.

[Yuxin Xu](https://hashnode.com/@yxu)

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

Is it because of the below example (20/0.6 = 33.3333...)?

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

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

[Yuxin Xu](https://hashnode.com/@yxu) Hello, that statement represents a theoretical result. In the case of FP32 (floating-point 32-bit) format, it requires 32 bits to store values, whereas a binary vector only needs 1 bit per element.
