tatami_chunked
Helpers to create custom chunked tatami matrices
|
Options for data extraction from a CustomSparseChunkedMatrix
.
More...
#include <CustomSparseChunkedMatrix.hpp>
Public Attributes | |
size_t | maximum_cache_size = 100000000 |
bool | require_minimum_cache = true |
Options for data extraction from a CustomSparseChunkedMatrix
.
size_t tatami_chunked::CustomSparseChunkedMatrixOptions::maximum_cache_size = 100000000 |
Size of the in-memory cache in bytes. Larger caches improve access speed at the cost of memory usage. Small values may be ignored if require_minimum_cache
is true
.
Whether to automatically enforce a minimum size for the cache, regardless of maximum_cache_size
. This minimum is chosen to ensure that a single slab can be retained in memory, so that the same chunks are not repeatedly re-read when iterating over consecutive rows/columns of the matrix.