Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

FeatureNDBMSDBMGDBMDB
Linkage comes with Perlyesyesyesyes
Source bundled with Perlnoyesnono
Source redistributablenoyesgplyes
FTPablenoyesyesyes
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.

-derby


Comment on Re: DBM Portability?
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (18)
As of 2015-07-30 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls