Re: dired-handler-fn (was: Re: XEemacs-19.11 and ef..)

sandy@ibm550.sissa.it
Mon, 18 Jul 1994 10:02:41 +0200


Noah,

>>What would worry me here is overflowing the regexp stack.  Only so
>>many "\\|"'s are supported in regexps.  I forget the number, but it's
>>not huge.

 > I believe there is no limit in emacs 19, though I realize you care about
 > backward compatibility.

True, but still would be willing to gain from efficiency gains in an
Emacs version-specific way.  I wonder, do you think that it would be a
big win to be modifying the regexp for the dired-handler-fn according
to what dired buffers exist?  I am mostly worried about creating such
a huge regexp, that the regexp match would be really slow.  Since
dired only cares about I/O operations that actually write to disk, it
might be cheaper to do a fast regexp match, and then check OPERATION
with eq.

By the way, I have rewritten the dired-handler-fn to make it faster.
However, I don't know if the rewrite will solve the particular
slowness problems that some people are seeing, because I haven't been
seeing them.  Still the rewrite can't hurt.

--sandy