usearch 0.16.0 → 0.16.1

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/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "usearch"
3
- version = "0.16.0"
3
+ version = "0.16.1"
4
4
  authors = ["Ashot Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
5
5
  description = "Smaller & Faster Single-File Vector Search Engine from Unum"
6
6
  edition = "2021"
package/conanfile.py CHANGED
@@ -4,7 +4,7 @@ from conans import ConanFile
4
4
  class USearchConan(ConanFile):
5
5
 
6
6
  name = 'USearch'
7
- version = '0.16.0'
7
+ version = '0.16.1'
8
8
  license = 'Apache 2.0'
9
9
  url = 'https://github.com/unum-cloud/usearch'
10
10
  description = 'Smaller & Faster Single-File Vector Search Engine from Unum'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usearch",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Smaller & Faster Single-File Vector Search Engine from Unum",
5
5
  "author": "Ashot Vardanian",
6
6
  "license": "Apache 2.0",
@@ -184,7 +184,7 @@ class TaskResult:
184
184
  def search_seconds(self) -> float:
185
185
  return self.search_operations / self.search_per_second
186
186
 
187
- def __add__(self, other: TaskResult, /):
187
+ def __add__(self, other: TaskResult):
188
188
  result = TaskResult()
189
189
  if self.add_operations and other.add_operations:
190
190
  result.add_operations = self.add_operations + other.add_operations
@@ -309,7 +309,11 @@ class Evaluation:
309
309
  ndim: int
310
310
 
311
311
  @staticmethod
312
- def for_dataset(dataset: Dataset, batch_size: int = 0, clusters: int = 1) -> Evaluation:
312
+ def for_dataset(
313
+ dataset: Dataset,
314
+ batch_size: int = 0,
315
+ clusters: int = 1) -> Evaluation:
316
+
313
317
  tasks = []
314
318
  add = AddTask(
315
319
  vectors=dataset.vectors,