tatami_hdf5
tatami bindings for HDF5-backed matrices
|
Options for HDF5 extraction. More...
#include <CompressedSparseMatrix.hpp>
Public Attributes | |
size_t | maximum_cache_size = 100000000 |
Options for HDF5 extraction.
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.