DefaultCostingFun

scalus.uplc.eval.DefaultCostingFun
case class DefaultCostingFun[+M <: CostModel](cpu: M, memory: M) extends CostingFun

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait CostingFun
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def calculateCostFromMemory(argsCostingInteger: Seq[CostingInteger]): ExUnits

Calculate cost from pre-computed memory usage values. Useful for JIT to avoid CekValue wrapper allocation.

Calculate cost from pre-computed memory usage values. Useful for JIT to avoid CekValue wrapper allocation.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product