Stats

scalus.compiler.sir.transform.BooleanOptimizer.Stats
final class Stats

Which rules fired during one run, and where. Recording is off for plain optimize, and a fresh instance is allocated per call, so the pass holds no shared mutable state.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def hits: Map[String, Int]

How many times each rule fired.

How many times each rule fired.

Attributes

def sites: Seq[(String, String)]

Every rewrite as (rule, source position), in the order they were applied.

Every rewrite as (rule, source position), in the order they were applied.

Attributes

def total: Int

Total number of rewrites.

Total number of rewrites.

Attributes