in reply to MLDBM - store multi-level hash structure in single level tied hash

If your data structure is wide and not too deep (many keys in the top-level hash with small structures under each, as opposed to a few keys in the top-level hash with huge structures under each), MLDBM will work great. However, 20MB isn't much data even with just Storable. Are you sure it's slow? Have you timed it? It may not be worth changing.
  • Comment on Re: MLDBM - store multi-level hash structure in single level tied hash

Replies are listed 'Best First'.
Re: Re: MLDBM - store multi-level hash structure in single level tied hash
by yangtse (Acolyte) on Aug 26, 2002 at 15:28 UTC
    It takes 2-3 seconds to retrieve and store data when using Storable. Isn't it slow? Thanks.
      That is very slow. Maybe your filesystem is on the slow side, or maybe your data structure is unusually complex. At any rate, MLDBM helps with this problem in most situations.