Caching
public protocol Caching
An object that caches the results of intensive computations.
In DiceKit, the only cached values are probability computations, which can be very intensive.
The results of rolling are NOT cached.
Implemented By
See ENABLE_CACHING
for configuring caching of all Caching
types.
Since
0.22.0-
Whether or not caching is enabled.
Declaration
Swift
static var enableCaching: Bool { get set }