AKTIVE

Documentation
Login

Documentation

Project ↗ Documentation ↗ Tutorials ↗ How To's ↗ Explanations ↗ References
Entry ↗ Sections ↘ Permuted Sections ↘ Names ↘ Permuted Names ↘ Strict ↘ Implementations ↘

Documentation -- Reference Pages -- cache

Table Of Contents

Operators

Operators


aktive op cache

Syntax: aktive op cache src [→ definition]

Returns the unchanged input.

However, this operator materializes and caches the input in memory, for fast random access. Yet it is not strict, as the materialization is deferred until the first access.

This is useful to put in front of a computationally expensive pipeline, to avoid recomputing parts as upstream demands them. The trade-off here is, of course, memory for time.

Input Description
src Source image