computing-map

Computing map: computing value ahead of time

I have a computing map (with soft values) that I am using to cache the results of an expensive computation. Now I have a situation where I know that a particular key is likely to be looked up within the next few seconds. That key is also more expensive to compute than most. I would like to compute the value in advance, in a minimum-pr...