Module mice::cost

source · []
Expand description

Approximate cost models for dice programs used in various contexts.

Modules

mbot(::mbot) centric cost calculations.

Structs

Context of AST walking interpreter.

Context of stack bytecode interpreter.

Enums

Evaluation cost. This is a context relative measure of how expensive it is to handle something. In the interpreter contexts, this is most likely an approximation of the count of the smallest significant step in interpretation evaluating given program will be equivalent to. In the formatting contexts, this is most likely a measure of how much allocation will be performed. In histogram plotting, this is simply a guessed at indicator of what multiple of the fastest observed plotting time the generated data will take.

Traits

Cost of using a dice program in a given context.

Functions