Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2018-06-21 22:19 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (120 votes). Check out past polls.