in reply to Least impact DB for CPAN modules

Given the modest size of those files, and the fact that your application (apparently) only needs hash-style, key-value access, I wonder why you're using a DB at all.

The simplest and fastest--both loading and access--mechanism would be Storable::nstore() & retrieve()

It's simple, fast, cross-platform and core. It imposes minimum prereqs upon your users and requires no "glue" code for your application.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy

Replies are listed 'Best First'.
Re^2: Least impact DB for CPAN modules
by hsmyers (Canon) on Oct 02, 2010 at 21:21 UTC

    Old habits concerning memory usage I suppose. Not really sure why I got on the DB train when I began. Given the 22 previous versions, it was a while ago! I'd just looked at Storable for another application and I must confess it didn't even register as a possibility for this problem— but from what I remember, it would probably have the least impact on the existing code and would also result in a speed up...oh hurt me again!!

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."