Hrvoje Niksic <hniksic(a)srce.hr> wrote:
> > No, it's not. We've already been over this.
Please rebuild your
> > XEmacs without error checking and you should get a massive speed
> > increase in dired.
>
> I haven't tried this, but I guess I have to. ;-)
Please, please do. For me, the error-checkingless rebuild blasted
`indent-region' totally out of the profile trace.
OK, dired's definitely much faster with error checking turned
off. ;-) However, I still hope the dired patch will be accepted by the
dired maintainers, because it would allow fast direds even with error
checking turned on. Here's a sample result from a 200MHz PPro, NT
4.0sp3, dired of "c:/winnt/system32":
-------------------------------------------------------------------------------
Function Name Ticks %/Total Call Count
==================================== ===== ======= ==========
(in garbage collection) 534 19.940
re-search-forward 508 18.969 3718
set-extent-property 248 9.261 32241
mswindows-insert-directory 212 7.916 2
make-extent 187 6.983 9770
dired-activate-permissions 169 6.311 8793
dired-make-permissions-interactive 109 4.070 978
looking-at 107 3.996 6604
dired-insert-set-properties 82 3.062 1
check-menu-syntax 73 2.726 280
indent-to 72 2.689 978
dired-set-text-properties 68 2.539 977
set-extent-face 66 2.465 9770
dired-manual-move-to-end-of-filename 64 2.390 977
indent-rigidly 52 1.942 1
dired-manual-move-to-filename 48 1.792 978
current-indentation 20 0.747 978
dired-insert-headerline 18 0.672 1
string-match 13 0.485 285
vectorp 8 0.299 1912
keywordp 2 0.075 1089
normalize-menu-item-name 2 0.075 179
copy-sequence 2 0.075 12
file-attributes 2 0.075 2
redisplay-echo-area 2 0.075 2
search-forward 2 0.075 1
selected-frame 2 0.075 5
nsubstitute 2 0.075 2
map-extents 2 0.075 5
#<compiled-function (extent maparg) "...(8)" [extent-property extent
dired-file-name] 3> 2 0.075 20
---------------------------------------------------------------------
Total 2678 100.00
One tick = 1 ms
-------------------------------------------------------------------------------
Hmmm. I'll have to check to find out why `mswindows-insert-directory'
is being called twice.
-- Darryl Okahata
Internet: darrylo(a)sr.hp.com
DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Hewlett-Packard, or of the
little green men that have been following him all day.