Performs unsafe rewrites, ignoring side-effect analysis (which may alter the semantics of the code.
Performs all possible rewrites, even those known to be slower or unsafe.
Performs optimizations that don't alter any Scala semantics, using reasonably optimistic side-effect detection (for instance, assumes hashCode / equals / toString are side-effect-free for all objects.
Performs optimizations that don't alter any Scala semantics, using strict side-effect detection.
Example: import scalaxy.streams.strategy.aggressive for (x <- Array(1, 2, 3); y = x * 10; z = y + 2) print(z)