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

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

bug#2445: 23.0.90; file name completion GCs a lot


From: Stefan Monnier
Subject: bug#2445: 23.0.90; file name completion GCs a lot
Date: Wed, 18 Mar 2009 09:40:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

> When I type C-x C-f xmail/foox TAB, where xmail contains 800 files
> and none of them starts with foox, it takes a few seconds (including
> 3 GCs) before telling me it can't be found.
> Here's output from xbacktrace:

>     "file-name-completion" (0x7fbe23e4)

Indeed, the new partial-completion code triggers an inefficiency in
file-name-completion.  I've installed a patch which should significantly
reduce the problem (at least in my test case, tho I had to use
a directory with 100K files to reproduce a problem that seems similar to
yours).


        Stefan






reply via email to

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