usearch 2.7.2 → 2.7.3

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/CITATION.cff CHANGED
@@ -5,7 +5,7 @@ authors:
5
5
  given-names: "Ash"
6
6
  orcid: "https://orcid.org/0000-0002-4882-1815"
7
7
  title: "USearch by Unum Cloud"
8
- version: 2.7.2
8
+ version: 2.7.3
9
9
  doi: 10.5281/zenodo.7949416
10
10
  date-released: 2022-06-12
11
11
  url: "https://github.com/unum-cloud/usearch"
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "usearch"
3
- version = "2.7.2"
3
+ version = "2.7.3"
4
4
  authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
5
5
  description = "Smaller & Faster Single-File Vector Search Engine from Unum"
6
6
  edition = "2021"
package/README.md CHANGED
@@ -392,7 +392,7 @@ doi = {10.5281/zenodo.7949416},
392
392
  author = {Vardanian, Ash},
393
393
  title = {{USearch by Unum Cloud}},
394
394
  url = {https://github.com/unum-cloud/usearch},
395
- version = {2.7.2},
395
+ version = {2.7.3},
396
396
  year = {2022},
397
397
  month = jun,
398
398
  }
package/conanfile.py CHANGED
@@ -7,7 +7,7 @@ required_conan_version = ">=1.53.0"
7
7
  class USearchConan(ConanFile):
8
8
 
9
9
  name = "usearch"
10
- version = '2.7.2'
10
+ version = '2.7.3'
11
11
  license = "Apache-2.0"
12
12
  description = "Smaller & Faster Single-File Vector Search Engine from Unum"
13
13
  homepage = "https://github.com/unum-cloud/usearch"
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <Project>
3
3
  <PropertyGroup>
4
- <Version Condition="'$(Version)' == ''">2.7.2</Version>
4
+ <Version Condition="'$(Version)' == ''">2.7.3</Version>
5
5
 
6
6
  <Authors>Unum</Authors>
7
7
  <Company>Unum</Company>
@@ -11,7 +11,7 @@
11
11
 
12
12
  #define USEARCH_VERSION_MAJOR 2
13
13
  #define USEARCH_VERSION_MINOR 7
14
- #define USEARCH_VERSION_PATCH 2
14
+ #define USEARCH_VERSION_PATCH 3
15
15
 
16
16
  // Inferring C++ version
17
17
  // https://stackoverflow.com/a/61552074
@@ -260,7 +260,7 @@ Napi::Value CompiledIndex::Count(Napi::CallbackInfo const& ctx) {
260
260
  return result;
261
261
  }
262
262
 
263
- Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
263
+ Napi::Value exactSearch(Napi::CallbackInfo const& ctx) {
264
264
  Napi::Env env = ctx.Env();
265
265
 
266
266
  // Extracting parameters directly without additional type checks.
@@ -281,6 +281,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
281
281
  }
282
282
 
283
283
  metric_punned_t metric(dimensions, metric_kind, quantization);
284
+ executor_default_t executor;
284
285
  exact_search_t search;
285
286
 
286
287
  // Performing the exact search.
@@ -293,7 +294,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
293
294
  reinterpret_cast<byte_t const*>(queriesBuffer.Data()), //
294
295
  queries_size, //
295
296
  dimensions * bytes_per_scalar, //
296
- wanted, metric);
297
+ wanted, metric, executor);
297
298
 
298
299
  if (!results)
299
300
  Napi::TypeError::New(env, "Out of memory").ThrowAsJavaScriptException();
@@ -325,7 +326,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
325
326
  }
326
327
 
327
328
  Napi::Object InitAll(Napi::Env env, Napi::Object exports) {
328
- exports.Set("compiledExactSearch", Napi::Function::New(env, compiledExactSearch));
329
+ exports.Set("exactSearch", Napi::Function::New(env, exactSearch));
329
330
  return CompiledIndex::Init(env, exports);
330
331
  }
331
332
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usearch",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "Smaller & Faster Single-File Vector Search Engine from Unum",
5
5
  "author": "Ash Vardanian (https://ashvardanian.com/)",
6
6
  "license": "Apache 2.0",
package/wasmer.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name="unum/usearch"
3
- version="2.7.2"
3
+ version="2.7.3"
4
4
  description="Smaller & Faster Single-File Vector Search Engine from Unum"
5
5
  license="Apache-2.0"
6
6
  readme="README.md"