yams/src/vector
trvon 7b56c6978e
perf(vector): normalize each ANN vector once, not twice
Copilot (#554): the validation pass called normalized(), allocating and
filling a normalized vector only to discard it, and the insertion loop
normalized every vector again. Validation now checks finiteness and a
non-zero norm without materializing anything, so each vector is
normalized exactly once, at insertion. Bad input still fails before any
insert.

Signed-off-by: trvon <git@trevon.dev>
2026-11-15 12:08:33 -07:00
..
batch_metrics.cpp v0.6.12 experiemental 2025-09-11 11:28:42 -04:00
binary_quantization.cpp perf(topology): stop copying the centroid matrix twice per route-index build 2026-11-15 09:43:36 -07:00
dim_resolver.cpp fix: addressing TSAN and empty catch blocks 2026-03-18 16:44:27 -04:00
document_chunker.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
embedding_daemon_backend.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
embedding_generator.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
embedding_provider_registry.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
embedding_service.cpp fix(vector): stop pretending to align a mismatched DB in EmbeddingService 2026-11-08 15:43:43 -07:00
meson.build refactor(vector): move vector schema repair out of the integrity module 2026-11-08 10:46:33 -07:00
mock_embedding_provider.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
simeon_pq_persistence.h fix(vector): append inserts to the Simeon PQ index instead of retraining per search 2026-10-29 06:56:57 -06:00
simeon_pq_store_codec.h Sync experimental into main: Search retrieval improvements (#60) 2026-07-24 19:00:22 -04:00
sqlite-vec.h.in plugin fixes for windows 2025-12-10 01:04:20 -05:00
sqlite_vec_backend.cpp perf(vector): stream vectors through the Simeon PQ rebuild 2026-11-11 06:44:07 -07:00
static_cosine_ann_index.cpp perf(vector): normalize each ANN vector once, not twice 2026-11-15 12:08:33 -07:00
tokenizer.cpp fix: harden CI and metadata stability (#48) 2026-06-11 16:42:54 -04:00
vector_database.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
vector_schema_migration.cpp refactor: remove 374 functions nothing calls 2026-11-06 08:10:15 -07:00
vector_schema_repair.cpp fix(vector): cheap, error-checked schema probe and backend group drop 2026-11-08 15:44:02 -07:00
vector_utils.cpp refactor(daemon): apply Brick audit fixes to the PR #79 decomposition (#80) 2026-08-31 18:50:18 -04:00