@kedem/okdb 3.1.4 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ All notable changes to `@kedem/okdb` are documented here. Format loosely follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.0.0/); versions follow [SemVer](https://semver.org/).
5
5
  Dates are release dates.
6
6
 
7
+ ## [3.1.5] - 2026-11-03
8
+
9
+ ### Fixed
10
+
11
+ - **Writing an embedding vector no longer re-checks every byte of it against the type's field list.** A document stored as a
12
+ Buffer (an embeddings `vec:` row) records one `number` field per byte index, as JS `Object.keys(buffer)` does: ~10,000 for a
13
+ 2560-dimension vector. Every such write walked that whole list again even when it could add nothing. A Buffer no longer than
14
+ the byte indexes already recorded now skips the check; the field schema is unchanged. Re-embedding at 2560 dimensions with a
15
+ zero-cost embedder: ~0.92 -> ~0.48 ms CPU per document (256 dimensions: ~0.23 -> ~0.19).
16
+
7
17
  ## [3.1.4] - 2026-11-03
8
18
 
9
19
  ### Fixed