From: Ming Zhang Subject: Re: file name match speed Date: Mon, 29 Aug 2005 18:59:23 -0400 Message-ID: <1125356363.5544.175.camel@localhost.localdomain> References: <1125183549.5569.10.camel@localhost.localdomain> <43136DC6.5000005@namesys.com> Reply-To: mingz@ele.uri.edu Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <43136DC6.5000005@namesys.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: Hans Reiser Cc: reiserfs On Mon, 2005-08-29 at 13:19 -0700, Hans Reiser wrote: > Ming Zhang wrote: > > >Hi folks > > > >I would like to investigate the file name look up performance here. > > > >assumed i have file name that is in digits, like 1,2,5,12, 43, 61, > >98,300... > > > >so how they will be hashed. > > > >and if i want to look up file named as 64 while no such file available, > >any quick way to find the file 61 in upper example? > > > >this is like a database query. select first X with X <=64. :) > > > > > >Ming > > > > > It would be useful to add such functionality to sys_reiser4. hope u can add to your todo list and hope later i can contribute some. Ming