unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: martin rudalics <rudalics@gmx.at>,
	Svend Sorensen <svend@ciffer.net>,
	Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 17284@debbugs.gnu.org
Subject: bug#17284: Host name completion in shell mode take 45 seconds
Date: Sat, 4 Apr 2015 14:38:50 -0700 (PDT)	[thread overview]
Message-ID: <2cf51818-6417-4110-8a4b-15fa4495ad49@default> (raw)
In-Reply-To: <55200A87.9050605@gmx.at>

>  > `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" ;-)

Yes, and I do expect that that's the typical case.  The question
is whether we want to handle more than this typical case.

To be clear, I don't say we that we need to.  But if we are going
to define this, why not?  That's why I suggested that we might
even want to define it C, like `char-before'.

Whatever others decide about that is fine with me.  The suggestion
is to add such a function, however it might be implemented.





  reply	other threads:[~2015-04-04 21:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17 17:47 bug#17284: 24.3.90; Host name completion in shell mode take 45 seconds Svend Sorensen
2015-04-02 17:36 ` bug#17284: " Svend Sorensen
2015-04-03  5:39   ` Nicolas Richard
2015-04-03  9:09     ` Svend Sorensen
2015-04-03 10:36       ` Nicolas Richard
2015-04-03 11:12         ` martin rudalics
2015-04-03 13:28           ` Stefan Monnier
2015-04-04  8:29             ` martin rudalics
2015-04-04 13:54               ` Stefan Monnier
2015-04-04 15:59                 ` martin rudalics
2015-04-03 11:42         ` Dmitry Gutov
2015-04-03 11:58           ` Nicolas Richard
2015-04-03 16:25       ` Drew Adams
2015-04-04  8:29         ` martin rudalics
2015-04-04 14:46           ` Drew Adams
2015-04-04 16:00             ` martin rudalics
2015-04-04 21:38               ` Drew Adams [this message]
     [not found]                 ` <cf794d98-4671-4a57-92cf-27a8c59c9211@default>
2016-01-02  3:59                   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2cf51818-6417-4110-8a4b-15fa4495ad49@default \
    --to=drew.adams@oracle.com \
    --cc=17284@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    --cc=svend@ciffer.net \
    --cc=theonewiththeevillook@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).