vec

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: Apache-2.0, Apache-2.0, MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Vendored: sqlite-vec

Component Source Version License
sqlite-vec.c, sqlite-vec.h (amalgamation) https://github.com/asg017/sqlite-vec v0.1.9 (e9f598a, 2026-03-31) MIT or Apache-2.0 (LICENSE-MIT, LICENSE-APACHE)

Compiled into MemSpace via cgo with SQLITE_CORE (linked against the SQLite in mattn/go-sqlite3; headers from ../fts/simple/include) and registered with sqlite3_auto_extension. NEON is enabled on arm64 (always available); AVX is not enabled on amd64, to keep binaries portable.

Local change: the NEON int8 L1 distance (l1_int8_neon) casts between signed and unsigned vectors explicitly (vreinterpretq_u8_s8, vreinterpretq_s32_u32); GCC on Linux arm64 rejects the implicit conversions that clang accepts. The arithmetic is unchanged.

Documentation

Overview

Package vec statically links sqlite-vec (vector search for SQLite) into the SQLite provided by mattn/go-sqlite3.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() error

Init registers sqlite-vec for every SQLite connection opened afterwards.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL