Skip to main content

Module context

Module context 

Source
Expand description

JIT Context and Related Data Structures

Contains the runtime context and data structures used by JIT-compiled code.

Structs§

JITClosure
JIT-compatible closure structure Holds function_id and a pointer to a heap-allocated array of captured values. Supports unlimited captures (no fixed-size limit).
JITConfig
JIT compilation configuration
JITContext
JIT execution context passed to compiled functions This struct must be C-compatible (#[repr(C)]) for FFI
JITDataFrame
Generic DataFrame storage for JIT execution. Stores data as an array of columns, matching the generic column_ptrs design in JITContext.
JITDataReference
JIT-compatible data reference structure Represents a reference to a specific data row in time
JITDuration
JIT-compatible duration structure
JITRange
JIT-compatible range structure Represents a range with start and end values (both NaN-boxed)
JITSignalBuilder
JIT-compatible SignalBuilder structure Represents a signal builder for method chaining (series.where().then().capture())
SimulationKernelConfig
Configuration for compiling a simulation kernel.

Constants§

COLUMN_COUNT_OFFSET
COLUMN_PTRS_OFFSET
CURRENT_ROW_OFFSET
GC_SAFEPOINT_FLAG_PTR_OFFSET
LOCALS_OFFSET
ROW_COUNT_OFFSET
STACK_OFFSET
STACK_PTR_OFFSET
TIMESTAMPS_PTR_OFFSET

Type Aliases§

CorrelatedKernelFn
Function pointer type for correlated (multi-series) kernel functions.
JittedFn
Legacy function signature for simple numeric computations
JittedStrategyFn
Function pointer type for JIT-compiled strategy functions
OsrEntryFn
OSR entry function signature.
SimulationKernelFn
Function pointer type for simulation kernel functions (single series).