next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: CacheTable

CacheTable -- hash tables for caching


A type of mutable hash table designed for caching computed values that could always be recomputed. Cache tables are designed so their contents will not participate in any comparisons by the strict comparison operator ===. To that end, any two cache tables with the same class and parent are considered equal to each other and have hash code equal to 0.

For the programmer

The object CacheTable is a type, with ancestor classes MutableHashTable < HashTable < Thing.