zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Filename generation: sorting by inode number
Date: Fri, 24 Apr 2015 18:01:09 -0700	[thread overview]
Message-ID: <150424180109.ZM29158@torch.brasslantern.com> (raw)
In-Reply-To: <20150425001719.GA12262@xvii.vinc17.org>

On Apr 25,  2:17am, Vincent Lefevre wrote:
} Subject: Filename generation: sorting by inode number
}
} With the "o" glob qualifier for filename generation, it is not possible
} to sort by inode number. Such a feature could be very useful to speed up
} file reading on an ext3 file system when the files are not in the cache.

Hrm.  Does the inode ordering also affect stat() times?

This sounds less like something to expose as a sort ordering for the o/O
qualifiers and more like something to hide under the covers, e.g., so
that "oN" (unsorted) actually produces order by inode, instead of the
apparently pseudo-random order of readdir().

How close does "oc" get you to this?


  reply	other threads:[~2015-04-25  1:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-25  0:17 Vincent Lefevre
2015-04-25  1:01 ` Bart Schaefer [this message]
2015-04-28 15:06   ` Vincent Lefevre
2015-04-25  5:11 ` Mikael Magnusson
2015-04-25 18:14   ` Bart Schaefer
2015-04-28 15:19     ` Vincent Lefevre
2015-04-28 16:34       ` Bart Schaefer

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=150424180109.ZM29158@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).