tatami_hdf5
tatami bindings for HDF5-backed matrices
Loading...
Searching...
No Matches
Public Attributes | List of all members
tatami_hdf5::CompressedSparseMatrixOptions Struct Reference

Options for HDF5 extraction. More...

#include <CompressedSparseMatrix.hpp>

Public Attributes

size_t maximum_cache_size = 100000000
 

Detailed Description

Options for HDF5 extraction.

Member Data Documentation

◆ maximum_cache_size

size_t tatami_hdf5::CompressedSparseMatrixOptions::maximum_cache_size = 100000000

Size of the in-memory cache in bytes.

We cache all chunks required to read a row/column in tatami::MyopicDenseExtractor::fetch() and related methods. This allows us to re-use the cached chunks when adjacent rows/columns are requested, rather than re-reading them from disk.

Larger caches improve access speed at the cost of memory usage. Small values may be ignored as CompressedSparseMatrix will always allocate enough to cache a single element of the target dimension.


The documentation for this struct was generated from the following file: