From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: project-find-regexp using ripgrep Date: Fri, 4 Dec 2020 03:56:57 +0200 Message-ID: <75eaa2e7-0867-1aa3-9322-08de56ed9f79@yandex.ru> References: <49f66d46-da8d-9658-ec85-ced39a99ad87@yandex.ru> <86tuz69y51.fsf@gmail.com> <15b1e532-99e7-5f43-defc-3c32072af3d6@yandex.ru> <86eeq7aj53.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20498"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: emacs-devel To: =?UTF-8?Q?andr=c3=a9s_ram=c3=adrez?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 04 02:58:29 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl0Mf-0005Ej-Oh for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 02:58:29 +0100 Original-Received: from localhost ([::1]:47814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl0Me-0003FU-Pm for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Dec 2020 20:58:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl0LI-0002WM-AV for emacs-devel@gnu.org; Thu, 03 Dec 2020 20:57:04 -0500 Original-Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:38158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kl0LG-0004mg-8V for emacs-devel@gnu.org; Thu, 03 Dec 2020 20:57:03 -0500 Original-Received: by mail-ej1-x632.google.com with SMTP id a16so6450583ejj.5 for ; Thu, 03 Dec 2020 17:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TeY1t9PC5vkxJDdPcTMIa+0LWXvsUaPfB9ShQnpa9vE=; b=dRpmUWW7iC/yNCldA2BMnosJQUzb0RN7yJi2akzlDw3HG+3VzVPnvx3PC33MedIsXG p0yPJfnUaJyvPdaF4jqXHFyLYFTjVzDgoTD1mtC9qzvcWh8QSacwcvPAHYoTNJ5iwhBJ N31AX1VdjbsSB+5yTG8+hM3GohTYahmnjol1VIrDddy2eDROwbmkdWz733o48VwbaoZS Do2qFR5MDTLTpf5NN/gQl4LvlCQSC+pUFlKnePxdbnfct2wiS2R+kb31h91QLNTO7BpY ZqZxYzrr2PzgZVVbAGlmGEu7gZo9xr3+TnDVCBak7mmhoEwAqSBlHJ0vYNGYoMAEZYrB bPrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TeY1t9PC5vkxJDdPcTMIa+0LWXvsUaPfB9ShQnpa9vE=; b=Aag62BIWppGV0YbEM1z2bbDF35BwtLPPMmq+qdImxuy9pXcLg0WR6B9Ulc78PTTnUY Kca/08jDBud0/vbyeVnp7c9gS/UEMu1tsJTUtcdBsw+Ra+fq0EZdan3SUY4QLRFebQSu FuOCuX+sKyu+SD6d09d50g2hjKb09a9yihnEuQOV+r1XWWh8hLYQVCy/QJPow/mRcrOy Wu7wZq1A71lAIXTMGWIr/TfwvJfnl4pTW0lfaD4WSfPU2IX8YeD0ihndDs6AYfZE0wlS XQsSy0++TimO12IzygNPYG9pUd3+wJGF8wgjDBxFLAqiIihhuBOJaiUP8AH2hWthvYap dq0g== X-Gm-Message-State: AOAM532++zegLZzEzi6SczgtamMbs8/VbYRcAA7ewX/G1fBfwoOpAOsw qt4mVnDcsCb0vT8v5kgW6lVK9dMNYCyfXw== X-Google-Smtp-Source: ABdhPJzi6riGL+sQQLQwm51QbdBVUhK0biiMaRXUomskOo7/oDN/4DghDOu4O8fqeOYpGVnXoclj9Q== X-Received: by 2002:a17:906:4982:: with SMTP id p2mr5032180eju.416.1607047019889; Thu, 03 Dec 2020 17:56:59 -0800 (PST) Original-Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id e12sm2417691edm.48.2020.12.03.17.56.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2020 17:56:58 -0800 (PST) In-Reply-To: <86eeq7aj53.fsf@gmail.com> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=raaahh@gmail.com; helo=mail-ej1-x632.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260263 Archived-At: Hi again! On 22.06.2020 06:12, andrés ramírez wrote: > Hello. Dmitry. > >>>>>> "Dmitry" == Dmitry Gutov writes: > > Dmitry> [1 ] On 20.06.2020 07:09, andres.ramirez wrote: Anybody? > >> > >> Before the patch: --8<---------------cut here---------------start------------->8--- Elapsed > >> time: 6.010101s Elapsed time: 5.863914s --8<---------------cut > >> here---------------end--------------->8--- > >> > >> After installing ripgrep and patch: --8<---------------cut > >> here---------------start------------->8--- Elapsed time: 3.261737s Elapsed time: 1.742008s > >> --8<---------------cut here---------------end--------------->8--- > > Dmitry> Thanks, Andres. Looks promising. > > Dmitry> Here's the latest version of the patch, > [...] > > --8<---------------cut here---------------start------------->8--- > Elapsed time: 3.017855s > Elapsed time: 1.403502s > --8<---------------cut here---------------end--------------->8--- Sorry for the considerable wait, and thanks. I have just pushed the updated patch to master (f2a3d6e). If you track that branch, after updating you can enjoy ripgrep support with: (setq xref-search-program 'ripgrep)