unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Ergus <spacibba@aol.com>
Cc: emacs-devel@gnu.org
Subject: Re: Performance issue in project.el
Date: Tue, 29 Jun 2021 00:14:57 +1200	[thread overview]
Message-ID: <bed0ad1e4a42cb19c9843dad0ef40b89@webmail.orcon.net.nz> (raw)
In-Reply-To: <20210628114247.tecbjwareetquj6h@Ergus>

On 2021-06-28 23:42, Ergus wrote:
> After reading the function vc-responsible-backend I can see that it 
> uses
> a mapcar to test the responsible; so all of them are always tested in
> every single call every time.

It didn't in Emacs 27, but see bug #42966 and commit 2697123933e3

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42966

commit 2697123933e3ac7ed4e21a6d12746a98ed7fa74a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Date:   Mon Oct 26 21:10:36 2020 +0100

     Make vc-responsible-backend choose the most specific backend

     * lisp/vc/vc.el (vc-responsible-backend): Search through all the
     VC backends instead of the first one, and choose the one that's
     most specific (bug#42966).




  reply	other threads:[~2021-06-28 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210627212123.xciejcjxrv2rxsra.ref@Ergus>
2021-06-27 21:21 ` Performance issue in project.el Ergus
2021-06-28 11:42   ` Ergus
2021-06-28 12:14     ` Phil Sainty [this message]
2021-06-28 12:44       ` Ergus
2021-06-28 14:10     ` Stefan Monnier

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=bed0ad1e4a42cb19c9843dad0ef40b89@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=emacs-devel@gnu.org \
    --cc=spacibba@aol.com \
    /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).