usearch 0.9.5 → 0.9.6

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.9.5"
3
+ version = "0.9.6"
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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5
1
+ 0.9.6
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.9.5'
7
+ version = '0.9.6'
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.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Smaller & Faster Single-File Vector Search Engine from Unum",
5
5
  "author": "Ashot Vardanian",
6
6
  "license": "Apache 2.0",
package/src/punned.hpp CHANGED
@@ -538,13 +538,19 @@ class punned_gt {
538
538
  private:
539
539
  static index_t* aligned_index_alloc_() {
540
540
  #if defined(USEARCH_IS_WINDOWS)
541
- return (index_t*)_aligned_malloc(64, 64 * divide_round_up<64>(sizeof(index_t)));
541
+ return (index_t*)_aligned_malloc(64 * divide_round_up<64>(sizeof(index_t)), 64);
542
542
  #else
543
543
  return (index_t*)aligned_alloc(64, 64 * divide_round_up<64>(sizeof(index_t)));
544
544
  #endif
545
545
  }
546
546
 
547
- static void aligned_index_free_(index_t* raw) { free(raw); }
547
+ static void aligned_index_free_(index_t* raw) {
548
+ #if defined(USEARCH_IS_WINDOWS)
549
+ _aligned_free(raw);
550
+ #else
551
+ free(raw);
552
+ #endif
553
+ }
548
554
 
549
555
  struct thread_lock_t {
550
556
  punned_gt const& parent;