Skip to content

Commit 04e3b85

Browse files
authored
Merge pull request #528 from unum-cloud/main-dev
Viewing larger datasets
2 parents e7140e5 + dad5b9d commit 04e3b85

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Linux • MacOS • Windows • iOS • Android • WebAssembly •
5252
-[Trusted](#integrations) by giants like Google and DBs like [ClickHouse][clickhouse-docs] & [DuckDB][duckdb-docs].
5353
-[SIMD][simd]-optimized and [user-defined metrics](#user-defined-functions) with JIT compilation.
5454
- ✅ Hardware-agnostic `f16` & `i8` - [half-precision & quarter-precision support](#memory-efficiency-downcasting-and-quantization).
55-
-[View large indexes from disk](#serving-index-from-disk) without loading into RAM.
55+
-[View large indexes from disk](#serialization--serving-index-from-disk) without loading into RAM.
5656
- ✅ Heterogeneous lookups, renaming/relabeling, and on-the-fly deletions.
5757
- ✅ Binary Tanimoto and Sorensen coefficients for [Genomics and Chemistry applications](#usearch--rdkit--molecular-search).
5858
- ✅ Space-efficient point-clouds with `uint40_t`, accommodating 4B+ size.

include/usearch/index_plugins.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ struct casts_punned_t {
12761276
* > warning: loop not vectorized: the optimizer was unable to perform the requested transformation;
12771277
* > the transformation might be disabled or specified as part of an unsupported transformation ordering
12781278
*/
1279-
#if defined(__clang__)
1279+
#if defined(USEARCH_DEFINED_CLANG)
12801280
#pragma clang diagnostic push
12811281
#pragma clang diagnostic ignored "-Wpass-failed"
12821282
#endif
@@ -1990,7 +1990,7 @@ class metric_punned_t {
19901990
};
19911991

19921992
/* Allow complaining about vectorization after this point. */
1993-
#if defined(__clang__)
1993+
#if defined(USEARCH_DEFINED_CLANG)
19941994
#pragma clang diagnostic pop
19951995
#endif
19961996

python/usearch/io.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def load_matrix(
6363
return None
6464

6565
with open(filename, "rb") as f:
66-
rows, cols = np.fromfile(f, count=2, dtype=np.int32)
66+
rows, cols = np.fromfile(f, count=2, dtype=np.int32).astype(np.uint64)
6767
rows = (rows - start_row) if count_rows is None else count_rows
6868
row_offset = start_row * scalar_size * cols
6969

0 commit comments

Comments
 (0)