all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs slow on dired renaming
Date: Sat, 05 Apr 2014 09:55:53 -0400	[thread overview]
Message-ID: <jwvsiprrieo.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 83fvls871l.fsf@gnu.org

>   (defun dired-in-this-tree (file dir)
>     ;;"Is FILE part of the directory tree starting at DIR?"
>     (let (case-fold-search)
>       (string-match-p (concat "^" (regexp-quote dir)) file)))

BTW, this is string-prefix-p, no?

> As another possible hint, does the number of times dired-create-files
> is called (26704) make sense?

This number is the number of samples, not the number of times the
function was called, right?


        Stefan




  reply	other threads:[~2014-04-05 13:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-03  6:57 emacs slow on dired renaming Robert Marshall
2014-04-03 14:52 ` Eli Zaretskii
     [not found] ` <mailman.18826.1396536739.10748.help-gnu-emacs@gnu.org>
2014-04-03 18:57   ` Robert Marshall
2014-04-03 20:03     ` Eli Zaretskii
     [not found]     ` <mailman.18866.1396555421.10748.help-gnu-emacs@gnu.org>
2014-04-04 13:17       ` Robert Marshall
2014-04-04 14:02         ` Eli Zaretskii
     [not found]         ` <mailman.18922.1396620169.10748.help-gnu-emacs@gnu.org>
2014-04-05  8:50           ` Robert Marshall
2014-04-05  9:22             ` Eli Zaretskii
2014-04-05 13:55               ` Stefan Monnier [this message]
     [not found]               ` <mailman.18986.1396706186.10748.help-gnu-emacs@gnu.org>
2014-04-05 15:09                 ` Robert Marshall
     [not found]             ` <mailman.18966.1396689747.10748.help-gnu-emacs@gnu.org>
2014-04-05 11:09               ` Robert Marshall
2014-04-05 11:56                 ` Eli Zaretskii
     [not found]                 ` <mailman.18977.1396698988.10748.help-gnu-emacs@gnu.org>
2014-04-05 12:32                   ` Robert Marshall
2014-04-06 12:39                     ` Robert Marshall
2014-04-06 16:21                       ` Eli Zaretskii
     [not found]                       ` <mailman.19055.1396801288.10748.help-gnu-emacs@gnu.org>
2014-04-06 17:21                         ` Robert Marshall
2014-04-09  9:41                           ` Robert Marshall
2014-04-09 12:50                             ` Robert Marshall
2014-04-09 13:17                             ` Stefan Monnier
     [not found]                             ` <mailman.19290.1397049474.10748.help-gnu-emacs@gnu.org>
2014-04-09 15:12                               ` Robert Marshall

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=jwvsiprrieo.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.