From: Tom Gilbert Date: 2002-07-24T20:33:01+09:00 Subject: Re: bdb and $= * Ned Konz (ned@bike-nomad.com) wrote: > On Tuesday 23 July 2002 12:35 pm, Yohanes Santoso wrote: > > AFAIK, BDB is case-sensitive. > > More accurately, perhaps, is: keys in BDB are just strings of bytes. > If you want to look at them as text, that's fine, but there's no > particular reason that BDB itself should. > > If you want case insensitivity, you'll have to provide it. > > It is much more useful to have arbitrary strings of bytes (up to 2Gb > long!) as keys than it is to have merely text... Indeed, I've been using Marshal.dump()'d ruby objects, among other things :) The case insensitvity was only needed for one use, and I've already sorted that by switching to Btree, so I'm all happy now :) Tom. -- .^. .-------------------------------------------------------. /V\ | Tom Gilbert, London, England | http://linuxbrit.co.uk | /( )\ | Open Source/UNIX consultant | tom@linuxbrit.co.uk | ^^-^^ `-------------------------------------------------------'