JDK 1.1 for Solaris Developer's Guide

Caching

Though caching takes more memory, it can be used for performance improvement. Use the technique of caching values that are expensive to fetch or compute.