crab
crab copied to clipboard
Prototype mru
- Prototype a simple update cache if the cache is empty.
- Prototype basic operations:
-
fold
: add three examples; -
expand
: add two examples.
-
Details about my implementation, I made mru_region_domain
class as a friend class of region_domain
(also forward declare as well) because all the fields in the original implementation are private members. I think the friend class is the easier way to design so far.
new implementation on PR #60.