From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Tue, 9 Jun 2009 15:41:37 -0400 To: mirtchovski@gmail.com, 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Different representations of the same file/resource in a synthetic FS Topicbox-Message-UUID: 081f134c-ead5-11e9-9d60-3106f5b1d025 > On Tue, Jun 9, 2009 at 1:16 PM, erik quanstrom wrote: > >> still a hash. i'm not doing anything particularly clever for speed, > >> and it shows in places. > > I lied a bit here: in some cases, for example where a particular query > would involve going through several (up to a couple of thousand) files > and subdirectories to compose, i provide a single file that gives me > that information much faster and in only a fraction of the 9p queries > it would normally would. it's by no means a general solution to the > speed problem, but it does get me the data 30-50 times faster... > > but i digress... interstingly, i considered mentioning the old upas/fs trick of the info file, which i believe is approximately the same hack. the "xxx" hack i recently added to the file has table of upas/fs is somewhat the mirror image of the info file. i suppose that in the language of standardized assessment tests technique is to hack as 30x is to 5%. - erik