in reply to Using tie to initialize large datastructures
Another way would be to use Dominus' excellent Memoize module. I wrote a review of the module: read the review of the Memoize module. Using it could be as simple as writing a function get_data_structure_from_database, saying memoize 'get_data_structure_from_database', and continuing to use that function!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using tie to initialize large datastructures
by da (Friar) on Aug 08, 2001 at 20:54 UTC |