Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
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 exploiting the Monastery: (13)
As of 2014-07-22 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (115 votes), past polls