On May 7, 8:46 pm, John Nagle <na...@animats.com> wrote: > On 5/6/2012 9:59 PM, Paul Rubin wrote: > > > Javier<nos...@nospam.com> writes: > >> Or not... Using directories may be a way to do rapid prototyping, and > >> check quickly how things are going internally, without needing to resort > >> to complex database interfaces. > > > dbm and shelve are extremely simple to use. Using the file system for a > > million item db is ridiculous even for prototyping. > > Right. Steve Bellovin wrote that back when UNIX didn't have any > database programs, let alone free ones. >
It's kind of sad that the Unix file system doesn't serve as an effective key-value store at any kind of nontrivial scale. It would simplify a lot of programming if filenames were keys and file contents were values. -- http://mail.python.org/mailman/listinfo/python-list