A Lazily Loaded Weakly Referenced Cache

added by BlackWasp
12/28/2012 12:41:38 PM

0 Kicks, 72 Views

Caching improves performance for data that is slow to obtain. Lazy initialisation can help performance and save resources for unused objects. Weak references allow early garbage collection. This article describes a cache class combining these concepts.