Path: 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 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