Article View: comp.unix.programmer
Article #1226Re: ndbm won't cut it, what now?
From: Wm E. Davidsen Jr
Date: Thu, 15 Nov 1990 02:20
Date: Thu, 15 Nov 1990 02:20
12 lines
989 bytes
989 bytes
The secret to having multiple keys in a dbm database is to use the
first byte as the key type. It's that easy, and works very nicely
thanks.
I did some limited testing of dbm and gdbm, and found that while gdbm
kept the file size way down, the build time was a lot longer.
--
bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
sysop *IX BBS and Public Access UNIX
moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me
Technical Details
Message-ID:
<2300@sixhub.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!pmafire!uudell!milano!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!crdgw1!sixhub!davidsenReferences:
<1990Nov11.111118.21856@cs.umn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!pmafire!uudell!milano!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!crdgw1!sixhub!davidsen From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr) Newsgroups: comp.unix.programmer Subject: Re: ndbm won't cut it, what now? Message-ID: <2300@sixhub.UUCP> Date: 15 Nov 90 02:20:23 GMT References: <1990Nov11.111118.21856@cs.umn.edu> Reply-To: davidsen@sixhub.UUCP (bill davidsen) Organization: *IX Public Access UNIX, Schenectady NY Lines: 12