All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Smallwood <smallwood@maya.com>
To: reiser <reiserfs-list@namesys.com>
Subject: searching on groups of files in reiser4
Date: Wed, 27 Apr 2005 09:27:41 -0400	[thread overview]
Message-ID: <426F934D.504@maya.com> (raw)
In-Reply-To: <20050417113856.155b8166.a.nielsen@shikadi.net>

Hello,

My question concerns searching through a group of files on reiser4.
Assume that we are dealing with a directory full of files (say a few 
million or so).

If I am currently viewing a given file, and wish to iterate to the next 
file in the directory,
is there a method to do so without opening the base directory and moving 
from one
directory entry to the next until you find it?

In short, are there any constructs to perform a binary search on these 
directories instead of a slow
O(n) search using seekdir or whatever method?

Or is some type of plugin our best route?


Thank You,

Nicolas Smallwood
Maya Design


  parent reply	other threads:[~2005-04-27 13:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-17  1:38 Segfault on nonexistent journal device Adam Nielsen
2005-04-18 12:56 ` Edward Shishkin
2005-04-27 13:27 ` Nicolas Smallwood [this message]
2005-04-27 14:24   ` searching on groups of files in reiser4 Hans Reiser
2005-04-27 21:57     ` David Masover

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=426F934D.504@maya.com \
    --to=smallwood@maya.com \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.