GNU bug report logs - #17284
24.3.90; Host name completion in shell mode take 45 seconds

Previous Next

Package: emacs;

Reported by: Svend Sorensen <svend <at> ciffer.net>

Date: Thu, 17 Apr 2014 17:49:02 UTC

Severity: normal

Found in version 24.3.90

Done: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Drew Adams <drew.adams <at> oracle.com>, Svend Sorensen <svend <at> ciffer.net>,  Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 17284 <at> debbugs.gnu.org
Subject: bug#17284: Host name completion in shell mode take 45 seconds
Date: Sat, 04 Apr 2015 18:00:07 +0200
> `buffer-substring-no-properties' is defined in C.  I can't tell
> whether this is more efficient because of that or less efficient
> because it creates a potentially giant string before starting to
> compare.  I was trying to compare starting from the far end,
> thinking that that might lead to earlier failure detection.

I got your idea.  But you also said that what we are handling here is
"typically a short string" ;-)

martin




This bug report was last modified 9 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.