Cache
class Cache
Value members
Concrete methods
Copy the value of (value, expr)
from the last cache to the current cache
(assuming it's Hot
if it doesn't exist in the cache).
Copy the value of (value, expr)
from the last cache to the current cache
(assuming it's Hot
if it doesn't exist in the cache).
Then, runs fun
and update the caches if the values change.
Prepare for checking next class
Prepare for checking next class
-
Reset changed flag.
-
Commit current cache to stable cache if not changed.
-
Update stable heap if not changed.
-
Reset last cache.