lazy
Arrays which are read only when asked for, and the operations pending on them.
dascore.lazy.recipe: a recipe holds no data; each of its members says which window of which stored source fills which box of the output.dascore.lazy.array: aLazyArrayis a recipe and a chain of pending operations, which is what a patch holds when its data are not read yet.dascore.lazy.chain: the steps of that chain.dascore.lazy.contract: chunk contracts, what an operation’s output chunk needs of its input, which let it run on a lazy array.dascore.lazy.kernels: the kernel every operation runs on a lazy array.dascore.lazy.execute: running the chain, a chunk at a time.
Import names from the module which defines them; this package imports none of its modules, so dascore.lazy.contract can be imported while DASCore itself is still being imported.
Modules
| Name | Description |
|---|---|
| array | A lazy array: a recipe and the operations pending on it. |
| block | One array’s members and where they are placed. |
| chain | The operations pending on a lazy array, as a linear chain. |
| columns | Dictionary encoded columns, string buffers and the sources table. |
| contract | Chunk contracts: what one chunk of an operation’s output needs of its input. |
| execute | Running a lazy array: which chunks, what each one reads, and computing it. |
| identity | The id of a recipe, which no way of cutting it into members changes. |
| read | Region loads: abutting windows are merged and each resource is opened once. |
| recipe | A recipe for an array which is read a member at a time. |
| kernels | The kernel every operation runs on a lazy array, unless it registers its own. |