Skip to main content

MATRIX

Constant MATRIX 

Source
pub(crate) const MATRIX: [(&str, &str); 9];
Expand description

The rows of the calling-convention matrix, and what each one is.

Issue #123 asks what the typed three-stack convention costs at each of its boundaries, so benches/convention/main.cove writes benches/arith’s loop out again for each of them and changes exactly one thing between two rows: how the turn’s i reaches the arithmetic that consumes it. The first row is the baseline the rest are read against.

Eight of the nine are the shapes #123 names. conv_fresh is a control rather than one of them: conv_host’s callback has to be written at its call site, because it reads the turn’s i and a capture is a snapshot, so that row builds a closure per turn as well as crossing the Host boundary. This is the row that tells the two apart.