usearch 2.19.19 → 2.19.21
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/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
#define USEARCH_VERSION_MAJOR 2
|
|
11
11
|
#define USEARCH_VERSION_MINOR 19
|
|
12
|
-
#define USEARCH_VERSION_PATCH
|
|
12
|
+
#define USEARCH_VERSION_PATCH 21
|
|
13
13
|
|
|
14
14
|
// Inferring C++ version
|
|
15
15
|
// https://stackoverflow.com/a/61552074
|
|
@@ -55,13 +55,14 @@
|
|
|
55
55
|
#endif
|
|
56
56
|
|
|
57
57
|
// Inferring hardware bitness: 32 vs 64
|
|
58
|
+
// Using compiler predefined macros for is technically safer than including `<cstdint>` and
|
|
59
|
+
// using the commonly advised `UINTPTR_MAX` trick, as that constant is optional in standard C/C++.
|
|
58
60
|
// https://stackoverflow.com/a/5273354
|
|
59
|
-
|
|
61
|
+
// https://en.cppreference.com/w/cpp/types/integer.html
|
|
62
|
+
#if defined(_WIN64) || defined(__LP64__) || defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__)
|
|
60
63
|
#define USEARCH_64BIT_ENV
|
|
61
|
-
#elif INTPTR_MAX == INT32_MAX
|
|
62
|
-
#define USEARCH_32BIT_ENV
|
|
63
64
|
#else
|
|
64
|
-
#
|
|
65
|
+
#define USEARCH_32BIT_ENV
|
|
65
66
|
#endif
|
|
66
67
|
|
|
67
68
|
#if !defined(USEARCH_USE_OPENMP)
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|