9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fossil speed
Date: Thu, 27 Jan 2005 19:20:25 +0000	[thread overview]
Message-ID: <cb951f11d0d8e8bff537a74f007d2758@vitanuova.com> (raw)
In-Reply-To: <ee9e417a0501261847758e185f@mail.gmail.com>

> fossil is not smart about its handling of directory
> entries, so removing n files is an O(n^2) operation.
> a directory with 40,000 files is going to take a little
> while to remove.  200 directories of 200 files each
> should be noticeably faster.

i don't know whether that's an issue here.  for the directory in
question, 65% of directories have 4 or less entries, and 95% have less
than 30.



  reply	other threads:[~2005-01-27 19:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-26  2:00 [9fans] browse /sys/src YAMANASHI Takeshi
2005-01-26  2:27 ` Kenji Okamoto
2005-01-26  2:31   ` Michael H. Collins
2005-01-26  2:45     ` boyd, rounin
2005-01-26  3:50     ` Russ Cox
2005-01-26  4:28       ` Kenji Okamoto
2005-01-26  4:39         ` Kenji Okamoto
2005-01-26  8:49         ` Skip Tavakkolian
2005-01-26 10:00           ` Matthias Teege
2005-01-26 21:32       ` [9fans] fossil speed rog
2005-01-26 21:36         ` andrey mirtchovski
2005-01-26 22:09           ` Charles Forsyth
2005-01-26 22:18           ` andrey mirtchovski
2005-01-26 22:22           ` andrey mirtchovski
2005-01-26 22:48             ` rog
2005-01-26 22:26           ` rog
2005-01-26 22:13             ` Charles Forsyth
2005-01-26 22:15               ` Charles Forsyth
2005-01-26 22:40             ` andrey mirtchovski
2005-01-27  2:47               ` Russ Cox
2005-01-27 19:20                 ` rog [this message]
2005-01-27  7:51             ` Fco. J. Ballesteros
2005-01-27 21:09               ` geoff
2005-01-27 21:23                 ` andrey mirtchovski
2005-01-27 21:35                   ` Russ Cox
2005-01-27 22:28                   ` geoff
2005-01-28  2:11                     ` Kenji Okamoto
2005-01-28  4:08                       ` geoff
2005-01-28  4:39                         ` Kenji Okamoto
2005-01-28  4:54                           ` geoff
2005-01-27  3:39         ` boyd, rounin
2005-01-26  9:55 ` [9fans] browse /sys/src Fco. J. Ballesteros

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=cb951f11d0d8e8bff537a74f007d2758@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /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 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).