Discover Packages
github.com/duynguyendang/manglekit
internal
adapters
vector
flat_simd
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Jun 11, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
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.
Opens a new window with list of known importers.
Documentation
Documentation
¶
The MRL pipeline truncates embeddings to the first 64 dimensions, providing
high preservation of semantic layout while dropping index size by 95%.
Quantize handles the Float32 -> INT8 conversion loop.
To normalize correctly, it evaluates the min/max range of the *truncated* array.
type FlatSIMDStore struct {
}
FlatSIMDStore implements VectorStorePort using a flat, memory-mapped INT8 file
designed for embedded scale workloads (100k - 1M vectors).
NewStore initializes or opens a flat vector store from disk.
Close unmaps and closes the file gracefully.
Insert adds a quantized vector with its metadata ID into the mmap'd file.
Search performs a brute-force INT8 dot-product scan over the mmap'd vectors,
returning metadata IDs sorted by descending similarity.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.