Say I have an object that takes about 30 seconds to construct on each program run. This object is constructed with the same piece of data each and every time the program is run. What solution(s) exist for this problem?
EDIT:
I did some research tailored to a more specific version of my question. In particular, I wanted to populate a hash table with some values. I found http://www.gnu.org/software/gperf/ which addresses this exact issue. gperf generates a perfect hash function and the associated table to go along.