Memory Format
DataAxesFormats.MemoryFormat
—
Module
In-memory
Daf
storage format.
DataAxesFormats.MemoryFormat.MemoryDaf
—
Type
struct MemoryDaf <: DafWriter ... end
MemoryDaf(; name = "memory", packed::Bool = false)
Simple in-memory storage.
This just keeps everything in-memory, similarly to the way an
AnnData
object works; that is, this is a lightweight object that just keeps references to the data it is given.
This is the "default" storage type you should use, unless you need to persist the data on the disk.
The
packed
kwarg is accepted for API uniformity with the disk-based formats but has no effect —
MemoryDaf
stores typed Julia arrays directly, with no on-disk encoding. If
packed = true
is requested, a
@debug
line is emitted once to flag the request, and the value is otherwise ignored.