asynchronously precompute and cache values when a class/module is first loaded