help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs slow on dired renaming


From: Stefan Monnier
Subject: Re: emacs slow on dired renaming
Date: Sat, 05 Apr 2014 09:55:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>   (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 via email to

[Prev in Thread] Current Thread [Next in Thread]