From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: Generation of tags for the current project on the fly Date: Sun, 14 Jan 2018 20:50:02 -0500 Message-ID: References: <4559858d-eb32-d071-fdad-e51430700260@yandex.ru> <83shbb30z1.fsf@gnu.org> <8360863o6a.fsf@gnu.org> <27a58fb2-d2ee-e5fc-158d-ec41be401987@yandex.ru> <83y3l0za1f.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1515980902 3444 195.159.176.226 (15 Jan 2018 01:48:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2018 01:48:22 +0000 (UTC) Cc: Emacs developers , Dmitry Gutov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 15 02:48:18 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eatsh-0000Ak-VW for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 02:48:12 +0100 Original-Received: from localhost ([::1]:54420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eatuh-0001pA-IB for ged-emacs-devel@m.gmane.org; Sun, 14 Jan 2018 20:50:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eatuX-0001or-Mc for emacs-devel@gnu.org; Sun, 14 Jan 2018 20:50:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eatuW-00083k-T4 for emacs-devel@gnu.org; Sun, 14 Jan 2018 20:50:05 -0500 Original-Received: from mail-ua0-x232.google.com ([2607:f8b0:400c:c08::232]:33461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eatuV-00082K-LG; Sun, 14 Jan 2018 20:50:03 -0500 Original-Received: by mail-ua0-x232.google.com with SMTP id z47so7568921uac.0; Sun, 14 Jan 2018 17:50:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=S9/gF7KDr+bQZ40Swz+IHCoXnxFIKo1fYk7+gpTClhA=; b=gm1lm2IaZx0SDObMWBep2JnIulLXfD3+rwfKk0xqvKhBnkBUw6/TVZK7JLZKejDAGO o1eOBekhgX1/fY9ovYelvv0sXQ5iGCqW3ffCSP+qyoL5rAG/qAQr25RSF3EwNILQ5x/B Hegco6BLjxlXmDRt2Z9US73bx1zqvT0SZV5STqa9M+FhhyiKAwjiUABXZ2x/DJL2VGUi NLcP8knb8wm5FgEGTTkf/0VVSQ135ZQWEokRhKBvGfctxm96nJdsg4TwUP+P0Laa1fEa NnDCoM9caylhJ1nN739ipUFi85BPe00A7vWhrpe577ukBY7NR+Ip3EVmCNCpiLGFBZcS WiKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=S9/gF7KDr+bQZ40Swz+IHCoXnxFIKo1fYk7+gpTClhA=; b=o014k4315CXTVQsbrkc3RrLTNXML+xYAIEvaGHcpiluJD8dlj6ZWX0YIPZbyTN74Iv N9XblENUffOYzuse77zhAMlGPwIIy4nPgagfwD+21Gy4Wq29Gw0XJ3JS3ppti2fGyhZp 0vdl9Lc7Sx4CUSDVYjsc/suppIizNqzM3kDMPu3Rh+O/0krQ9fUY33mLpUdxDwNSDbtP qSej52bP20mNKbMWCPPlIJFtCRsGgzsvfTuRsEmUh2yKhuA+22tXxbwmIkWrWSBdsAL3 Rn6W/8pJyMhCMNel24PzmyARRM4B4gjYHQ7wU2Wz2HySF5QnaqWCIp8zIs2IhTXDUQdt D+ig== X-Gm-Message-State: AKwxytcmZT3jcLYWm3Xq6mwPe3HhHNQVvdjZhpYrPUssHIOF6VJUAkr7 gHrCwyJnmVRUe1KQO3iveu9ZpHU0Pji5U7A7Np39QQ== X-Google-Smtp-Source: ACJfBouigmVURolNiHTXMD+R+sO9yzVYigZuYmQ+9nyUI3YFG5/ozhDiahS39H/0stGWSsWslFk9rS+Lg9QgFQ6tTho= X-Received: by 10.176.24.111 with SMTP id j47mr32971276uag.57.1515981002732; Sun, 14 Jan 2018 17:50:02 -0800 (PST) Original-Received: by 10.31.163.2 with HTTP; Sun, 14 Jan 2018 17:50:02 -0800 (PST) In-Reply-To: <83y3l0za1f.fsf@gnu.org> X-Google-Sender-Auth: bAWXVKfevRyv-YDggIFru0QP0Zc X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221960 Archived-At: > > > Invoking 'find' will always be faster, as it's optimized for > > > traversing directory trees. > > > > 'git ls-files' will probably be faster still. > > Yes, but that only works in Git repositories. The context of this discussion is _large_ projects. My sense is that git's efficiency relative to other SCM technologies means that the larger the project the higher the likelihood of use git. Also, when talking speed ripgrep has been a revelation: https://github.com/BurntSushi/ripgrep Admitted that ripgrep is written in rust but a scanner exploiting similar ideas could change what we imagine to be a big project. /john