If you're getting into using tied arrays or hashes, you could always tie one to a file or dbm, so that there is no in-memory footprint for the cache of statement handles. Of course this itself would create a performance penalty that might be more than the penalty of just re-preparing a statement handle, so you'd have to benchmark to be sure.
Dave
In reply to Re: how to limit size of hash
by davido
in thread how to limit size of hash
by albert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |