Skip to content

Norm-extracted vectors#7107

Open
connortsui20 wants to merge 4 commits intodevelopfrom
ct/norm
Open

Norm-extracted vectors#7107
connortsui20 wants to merge 4 commits intodevelopfrom
ct/norm

Conversation

@connortsui20
Copy link
Contributor

Summary

Tracking Issue: #6865

Related PR: #7018

Adds a new encoding specific to the vector extension type.

Note that we cannot actually utilize this by adding it to the compressor until we make it pluggable (see #7018). When that does eventually land, we can simply create a NormVectorScheme that uses the NormVectorArray.

Implementation

We currently do not have a good way of broadcasting a multiplication onto a FixedSizeList, so this implementation hand rolls the norm multiplication. Additionally, we still do not have #6717 so the scalar_at implementation is also slow.

API Changes

Adds a new encoding type NormVector

Testing

Some simple tests including roundtrips.

Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20 connortsui20 requested a review from robert3005 March 20, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant