Skip to content

[DocDB] Use AVX instructions for vector index distance calculation when possible #28329

@spolitov

Description

@spolitov

Jira Link: DB-18012

Description

Currently, our binaries are built for the Ivy Bridge architecture without AVX support. However, USearch's distance functions are more effective when built with AVX.

Since USearch supports dynamic CPU dispatch, we can build it with multiple implementations. This allows the library to automatically select the optimal distance function based on the user's CPU capabilities.

Issue Type

kind/enhancement

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Metadata

Metadata

Assignees

Labels

area/docdbYugabyteDB core featureskind/enhancementThis is an enhancement of an existing featurepriority/mediumMedium priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions