Skip to content

Commit b9ad9cd

Browse files
committed
Updates for v2 arch
1 parent b7f6a17 commit b9ad9cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/hdf5javalib/datasource/TypedDataSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public abstract class AbstractSpliterator<R> implements Spliterator<R> {
393393
private long currentIndex;
394394
private final long limit;
395395
private final long recordSize;
396-
private final int cacheSize = 10000; // Max records to cache
396+
private final int cacheSize = 100_000; // Max records to cache
397397
private ByteBuffer cacheBuffer; // Cache for raw bytes
398398
private int cachePosition = 0; // Current position in cache (record index)
399399
private int cacheLimit = 0; // Number of records in cache

src/main/java/org/hdf5javalib/examples/hdf5examples/HDF5Debug.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private void run() {
5555
// List all .h5 files in HDF5Examples resources directory
5656
// ATL03_20250302235544_11742607_006_01
5757
// Path dirPath = Paths.get(Objects.requireNonNull(HDF5Debug.class.getClassLoader().getResource("HDF5Examples/h5ex_g_compact2.h5")).toURI());
58-
Path dirPath = Paths.get("c:/users/karnicho/Downloads/ATL03_20250302235544_11742607_006_01.h5");
58+
Path dirPath = Paths.get("c:/users/karln/Downloads/ATL03_20250302235544_11742607_006_01.h5");
5959
processFile(dirPath);
6060
} catch (Exception e) {
6161
throw new IllegalStateException(e);

0 commit comments

Comments
 (0)