Re: File/data structure information
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Sun, 31 Dec 2006 01:35:28 -0500
Dave wrote:
I have been Googling to find information about the pros and
cons of different file and data structures within a file
incl. databases). Would a appreciate a pointer to either
some online documents or a good primer text. I don't have
any specific questions and the information needs to be
language and operating system agnostic.
The applications are for storing/finding strings, strings
within strings, numerical data, etc. In other words, very
general.
If you can hold everything in memory, or virtual memory (slower)
and can load the data on program startup, see my hashlib module for
an in-memory database.
<http://cbfalconer.home.att.net/download/>
This will let you store, find, delete etc. Multiple tables involve
no extra code, except for the customization routines, and can be
treated as indexes to the data. In that case the extra indexes
will not involve additional storage, apart from the index itself.
See the id2id-20 program for an example.
--
Merry Christmas, Happy Hanukah, Happy New Year
Joyeux Noel, Bonne Annee.
Chuck F (cbfalconer at maineline dot net)
<http://cbfalconer.home.att.net>
.
- References:
- File/data structure information
- From: Dave
- File/data structure information
- Prev by Date: Re: Mathematics of the Enigma cipher?
- Next by Date: Re: Mathematics of the Enigma cipher?
- Previous by thread: Re: File/data structure information
- Index(es):
Relevant Pages
|