ndbm again, is it worth for files which may utmost have 100 records

Michael Meissner meissner at tiktok.dg.com
Mon Jul 3 22:25:16 AEST 1989


In article <160 at cerc.wvu.wvnet.edu.edu> kannan at cerc.wvu.wvnet.edu (R. Kannan) writes:
| 
| Is it worth to use ndbm for files which may utmost contain 100 records.

If you are going to have so few records, why not just use an empty
directory, and make each record a separate filename, using some
suitable trasnformation function on the key for the name of the file.
--
Michael Meissner, Data General.
Uucp:		...!mcnc!rti!xyzzy!meissner		If compiles were much
Internet:	meissner at dg-rtp.DG.COM			faster, when would we
Old Internet:	meissner%dg-rtp.DG.COM at relay.cs.net	have time for netnews?



More information about the Comp.lang.c mailing list