Re: request for Details about Dictionaries in Python

2008-03-14 Thread Marc 'BlackJack' Rintsch
On Fri, 14 Mar 2008 17:06:00 +, Matt Nordhoff wrote: > Hmm, if Perl's on-disk hash tables are good, maybe someone should port > them to Python, or maybe someone already has. I don't know Perl's on-disk hash tables but there is a `shelve` module in the standard library. Ciao, Marc 'Bl

Re: request for Details about Dictionaries in Python

2008-03-14 Thread Tim Golden
Matt Nordhoff wrote: > Michael Wieher wrote: >> I'm not sure if a well-written file/seek/read algorithm is faster than a >> relational database... >> sure a database can store relations and triggers and all that, but if >> he's just doing a lookup for static data, then I'm thinking disk IO is >> fa

Re: request for Details about Dictionaries in Python

2008-03-14 Thread Matt Nordhoff
Michael Wieher wrote: > I'm not sure if a well-written file/seek/read algorithm is faster than a > relational database... > sure a database can store relations and triggers and all that, but if > he's just doing a lookup for static data, then I'm thinking disk IO is > faster for him? not sure I w

Re: request for Details about Dictionaries in Python

2008-03-14 Thread Michael Wieher
2008/3/14, Gerardo Herzig <[EMAIL PROTECTED]>: > > Saideep A V S wrote: > > >Hello Sir, > > > > Thank You a ton. I was looking for this function. As far what I've > >understood from the "Shelve" module is that, there would be no memory > >wastage and the whole transactions would be done from and

Re: request for Details about Dictionaries in Python

2008-03-14 Thread Gerardo Herzig
Saideep A V S wrote: >Hello Sir, > > Thank You a ton. I was looking for this function. As far what I've >understood from the "Shelve" module is that, there would be no memory >wastage and the whole transactions would be done from and to the file we >specify. Am I right?. > > My actual task is t

Re: request for Details about Dictionaries in Python

2008-03-14 Thread Gerardo Herzig
Saideep A V S wrote: >Hello Sir, > > I am a beginner level programmer in Python. I am in search of a >function for 'On-Disk' Dictionaries which is similar to On-Disk Hash tables >in Perl (i.e., tie function in Perl). > > > Could anyone help me with the concept. I have also searched the net,