cockroachdb / cockroachdb/cockroach

sql/vecindex: use SIMD to accelerate RaBitQuantizer.quantizeHelper

Open
#152,091 0 comments 0 reactions 1 assignee Claimed by @cthumuluru-crdb View on GitHub
A-vector-index C-enhancement C-performance P-2 T-specialized-indexing
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Modern x86 and ARM CPUs support SIMD instructions, which can greatly speed up repetitive vector operations. This is particularly useful in the RaBitQuantizer.quantizeHelper method, which runs across ~100 N-dimensional vectors at a time. This is an inner loop in vector indexing, and so should result in a measurable speed-up in macro benchmarks.

Jira issue: CRDB-53640

Epic CRDB-63810

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.