From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: dired-duplicates Date: Wed, 01 Nov 2023 16:12:15 +0200 Message-ID: <831qd9a7gg.fsf@gnu.org> References: <875y2nugm8.fsf@posteo.net> <83edha9mlg.fsf@gnu.org> <87h6m5shpf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40750"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, h.judt@gmx.at, emacs-devel@gnu.org To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 01 15:13:05 2023 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 1qyBxw-000AO6-8z for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Nov 2023 15:13:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyBxM-0004Jg-1A; Wed, 01 Nov 2023 10:12:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyBxK-0004JM-2H for emacs-devel@gnu.org; Wed, 01 Nov 2023 10:12:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyBxJ-0006i2-BJ; Wed, 01 Nov 2023 10:12:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=6oSZzNcYO7nKTksjC4WxBdoZm3ogbZuCwTHEVH7mztg=; b=n800gnbW+lNLVXldA52u nyBlbyhbmKYJ8O3WwmS+hcSGV5PCBJKj2AqcbuKUwyc1O+GVopwO9PjopBgsWvGFCAXQ6PJT8BCIt LVM/HqLZrYQBBH2N6W/ayjxgGSzmBexPmXbZMhZjbs57IqrHEzHBTKVLGN4pt3I7hYb3UBAlx+7jJ BT/GXYELQ74K3pDV0eGqhYFgaZpvMHefEX++6PvjYLnxZGKLH2OUiNZwq/mvh7SiSuwyGJg9SIqks SfHF/DHoeDFB96hmgw2MwR/HxZX1RZiLbfILvNpPrMSA05jjk5EFm9I3JnMxOZPRswTbTxOQFdetQ 1kCukB51tDga6w==; In-Reply-To: <87h6m5shpf.fsf@gmail.com> (message from Visuwesh on Wed, 01 Nov 2023 19:23:32 +0530) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312069 Archived-At: > From: Visuwesh > Cc: Philip Kaludercic , h.judt@gmx.at, > emacs-devel@gnu.org > Date: Wed, 01 Nov 2023 19:23:32 +0530 > > [புதன் நவம்பர் 01, 2023] Eli Zaretskii wrote: > > >> From: Philip Kaludercic > >> Cc: emacs-devel@gnu.org > >> Date: Tue, 31 Oct 2023 12:21:51 +0000 > >> > > What I would like to ask is whether Harald tried to calculate SHA256 > > using Emacs's own primitives, instead of relying on an external > > program, which may or may not be installed. > > >From OP, > > The only external requirement is a checksum program like md5 or > sha256sum that generates a hash value from the contents of a file used > for comparison, because Emacs cannot do that in a performance-efficient > way. > > So I guess the answer is no. I'd like to see the numbers which led to the conclusion that performance was prohibitive. And even if the performance is indeed much worse, it could be a fallback in case the program is not available -- which would IMO be much better than simply failing to provide the functionality in that case.