ExBudget

scalus.uplc.eval.ExBudget$package.ExBudget
object ExBudget

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ExBudget.type

Members list

Value members

Concrete methods

def fromCpuAndMemory(cpu: Long, memory: Long): ExUnits

Constructs an 'ExBudget' from CPU and memory components.

Constructs an 'ExBudget' from CPU and memory components.

Value parameters

cpu

CPU steps

memory

Memory units

Attributes

Returns

ExUnits instance with swapped parameter order (memory, steps)

Deprecated methods

def apply(cpu: ExCPU, memory: ExMemory): ExUnits

Factory method matching old ExBudget constructor signature

Factory method matching old ExBudget constructor signature

Attributes

Deprecated
[Since version 0.13.0] Use ExUnits(memory, steps) directly

Use ExUnits(memory, steps) directly

Concrete fields

val zero: ExUnits

The zero budget

The zero budget

Attributes

Givens

Deprecated givens

Attributes

Deprecated
[Since version 0.13.0] Use ExUnits directly
given given_Ordering_ExUnits: Ordering[ExUnits]

Attributes

Deprecated
[Since version 0.13.0] Use ExUnits directly