LetChainRegroup

scalus.uplc.transform.LetChainRegroup
See theLetChainRegroup companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(term: Term): Term

Applies let-chain regrouping to a term using default settings.

Applies let-chain regrouping to a term using default settings.

Attributes

Concrete fields

val MinRunSize: Int

Smallest run of independent bindings worth grouping.

Smallest run of independent bindings worth grouping.

A run of N saves N - 2 machine steps per execution and changes the script size by 19 - 3N bits. Both matter to the fee; see the threshold discussion on LetChainRegroup for the arithmetic and the corpus measurement behind this value.

Attributes