Wraps an eagerly computed value. Prevents wrongly reported implicit divergence, like Lazy does, but,
unlike it, does not circumvent implicit cycles.
Creation of Lazy instances usually triggers the creation of an anonymous class, to compute the wrapped
value (e.g. with the by-name argument of Lazy.apply). Strict avoids that, which can lead to less
overhead during compilation.
Wraps an eagerly computed value. Prevents wrongly reported implicit divergence, like
Lazy
does, but, unlike it, does not circumvent implicit cycles.Creation of
Lazy
instances usually triggers the creation of an anonymous class, to compute the wrapped value (e.g. with the by-name argument ofLazy.apply
).Strict
avoids that, which can lead to less overhead during compilation.