Skip to main content

Crate sim_table_lazy

Crate sim_table_lazy 

Source
Expand description

Lazy table backend for the SIM constellation.

Provides a LazyTable implementation satisfying the kernel TableBackend contract, where entry values are produced by ValueLoader closures that run at most once and memoize their result. Registered as a loadable library through install_lazy_table_lib.

Structs§

LazyBackend
Table backend that constructs LazyTable objects for the lazy backend name.
LazyTable
Table whose entry values are produced on demand by ValueLoader closures and memoized after their first force.
LazyTableDescriptor
Serialized form of a LazyTable: the citizen descriptor holding the table’s (forced) entries as key/expression pairs.
LazyTableLib
Loadable library manifest for the lazy table backend.

Functions§

install_lazy_table_lib
Register the LazyBackend and load the LazyTableLib into cx.
lazy_table_class_symbol
The fully qualified class symbol (table/LazyTable) for the lazy table citizen.

Type Aliases§

ValueLoader
A value loader, called at most once and memoized with its first result.