Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: DBM Portability?

by derby (Abbot)
on Oct 03, 2002 at 12:41 UTC ( #202492=note: print w/ replies, xml ) Need Help??

in reply to DBM Portability?

The Cookbook has a nice overview of the different DBM implementations and their features (p90). Here's the table

Linkage comes with Perlyesyesyesyes
Source bundled with Perlnoyesnono
Source redistributablenoyesgplyes
Easy to buildN/Ayesyesok
Often comes with Unixyesnonono
Builds ok on UnixN/Ayesyesyes
Builds ok on WindowsN/Ayesyesyes
Code sizedependssmallbigbig
Disk Usage dependssmallbigok
Speed dependsslowokfast
Block Size Limits 4K1Knonenone
Byte order independentnononoyes
User-defined sort order nononoyes
Partial key lookups nononoyes

There are other caveats and info so check out chapter 14 of the Cookbook.


Replies are listed 'Best First'.
Re: Re: DBM Portability?
by perrin (Chancellor) on Oct 03, 2002 at 16:37 UTC
    This is actually totally wrong about the relative speeds. SDBM is the fastest by a mile. There are benchmarks in the readme for MLDBM::Sync.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://202492]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2016-06-30 18:06 GMT
Find Nodes?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...

    Results (400 votes). Check out past polls.