Newsgroups: comp.infosystems.www.authoring.cgi,fj.lang.perl,de.comp.lang.perl,comp.lang.perl.misc,su.computers.www
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!wnoc-sfc-news!venus.sun.com!cs.utexas.edu!news-relay.us.dell.com!swrinde!tank.news.pipex.net!pipex!blackbush.xlink.net!gecko.de!impulse.ris.de!bercos.de!hk
From: hk@bercos.de (Helge Kruse)
Subject: Re: Putting all file contents in filename? good/bad idea?
Followup-To: comp.infosystems.www.authoring.cgi,fj.lang.perl,de.comp.lang.perl,comp.lang.perl.misc,su.computers.www
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: hk@bercos.de
Organization: BERCOS GmbH Berlin, Germany
Message-ID: <Do54Dv.AuL@bercos.de>
References: <4i24ih$c5j@elaine43.Stanford.EDU>
Date: Tue, 12 Mar 1996 05:53:54 GMT
Lines: 22
Xref: galaxy.trc.rwcp.or.jp fj.lang.perl:795
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.perl&nb=795&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

Ardith-Grace Jacint Ibanez (dimple@leland.Stanford.EDU) wrote:
: Hi. 
: Would anybody know the answer (or opinion) 
: to the following question:

: Would it be a bad idea to put up to 255 characters of file
: info in the file name, rather than in the file, in order to 
: speed up the retrieving file info process by omitting the 
: --open file, read contents-- step?
: (assuming I will never need more than 255 characters of file
: data)

: Would this be faster?
: Would this be wise?
: Would this be stupid?
Yes some file system does not use the filename (dir entry), but 
some space in the inode table for short files. If you place the
contents in the dir entry, you cannot support hard links.
You waste a cluster/group/... space, if you put small data in
the data area, so it's wise to use such a special thing.

Helge
