Python choice of database
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Sat Jul 2 09:25:54 EDT 2005
On 20 Jun 2005 11:43:28 -0700, rumours say that "Oren Tirosh"
<oren.tirosh at gmail.com> might have written:
>For very short keys and record (e.g. email addresses) you can use
>symbolic links instead of files. The advantage is that you have a
>single system call (readlink) to retrieve the contents of a link. No
>need to open, read and close.
readlink also does open, read and close too. And why go through
indirection? Why not make indexes into subdirectories, say, and
hard-link the records under different filenames?
>This works only on posix systems, of course.
There aren't any non-posix-conformant --or, at least, any
non-self-described-as-posix-conformant :-)-- operating systems in wide
use today.
Hint: win32file.CreateHardLink
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
More information about the Python-list
mailing list