Updated docs on halfvec performance [skip ci]

This commit is contained in:
Andrew Kane
2024-04-07 16:16:39 -07:00
parent 33daf87fcb
commit 98d4b1a364

View File

@@ -423,7 +423,7 @@ CREATE TABLE items (embedding vector(3), category_id int) PARTITION BY LIST(cate
*Unreleased*
Note: Half vectors require [compiler support](#halfvec-performance) to be performant
Note: Half vectors currently require AArch64 to be performant
Use the `halfvec` type to store half-precision vectors
@@ -957,16 +957,6 @@ To compile for portability, use:
make OPTFLAGS=""
```
### Halfvec Performance
For best performance, make sure Postgres was compiled with a compiler that supports the `_Float16` type (since the same compiler will be used for extensions).
Compiler | x86-64 | aarch64
--- | --- | ---
GCC | 12+ | 7+
Clang | 15+ | 6+
Apple Clang | 14.3+ | 10+
## Installation Notes - Windows
### Missing Header