From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#57079: 29.0.50; Performance of seq-uniq is not very good Date: Wed, 17 Aug 2022 13:01:20 +0200 Message-ID: <87fshvjfr3.fsf@gnus.org> References: <83tu6ltlcq.fsf@gnu.org> <87y1vxwe0y.fsf@gnus.org> <83k07htjxf.fsf@gnu.org> <87o7wtwcu9.fsf@gnus.org> <83fsi5tj31.fsf@gnu.org> <87k07hwbgs.fsf@gnus.org> <838rnxti1k.fsf@gnu.org> <878rnxwayl.fsf@gnus.org> <837d3hth7r.fsf@gnu.org> <86mtcdnrad.fsf@mail.linkov.net> <878rntr49y.fsf@gnus.org> <87lertnhdc.fsf@web.de> <87pmh4jraj.fsf@gnus.org> <87wnbboprt.fsf@web.de> <87tu6ec8nc.fsf@gnus.org> <87pmh1axip.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6070"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , 57079@debbugs.gnu.org, stefan@marxist.se, Juri Linkov To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 17 13:05:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oOGrY-0001QW-Ah for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 13:05:28 +0200 Original-Received: from localhost ([::1]:35786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOGrW-0004V4-Jz for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 07:05:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOGoE-0003Qo-K9 for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 07:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOGoE-0005Gf-8Z for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 07:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOGoE-00024q-0W for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 07:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2022 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57079 X-GNU-PR-Package: emacs Original-Received: via spool by 57079-submit@debbugs.gnu.org id=B57079.16607340967953 (code B ref 57079); Wed, 17 Aug 2022 11:02:01 +0000 Original-Received: (at 57079) by debbugs.gnu.org; 17 Aug 2022 11:01:36 +0000 Original-Received: from localhost ([127.0.0.1]:49537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOGno-00024D-Gh for submit@debbugs.gnu.org; Wed, 17 Aug 2022 07:01:36 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:44312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOGnm-00023z-3a for 57079@debbugs.gnu.org; Wed, 17 Aug 2022 07:01:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=142+AZq8eO/uzKT1+5OTNg3wQjOzAqxF9GyhFPV2+j4=; b=SlQXd9vilroheW9seo6j5fltr+ krwyHFiCcmYg3bLDNkC/m+1lDt+KKfJAByH87mvlwYdNwslbg+SyivmEF8ukfZYoDCVNqSl8SB9Ik 7fiDR+P1BTxRQ7JwaB1LLtTMk8mVynu3sB2DIPmiEerf2in5JPpMQRjIfjiqsCvfIg0c=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOGnZ-0008Dd-8G; Wed, 17 Aug 2022 13:01:27 +0200 In-Reply-To: <87pmh1axip.fsf@web.de> (Michael Heerdegen's message of "Tue, 16 Aug 2022 01:37:50 +0200") X-Now-Playing: The Honeymoon Killers's _It's a Crammed, Crammed, Crammed, Crammed World!_: "Subtitled Remix" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240042 Archived-At: Michael Heerdegen writes: > But it makes sense from the viewpoint of practical requirements. Half > of all use cases will run much slower if we don't support this case. > Practical requirements and efficiency are more important than a slippery > as an eel design. Well, history tells a different tale. > And I see a bigger (design) problem here: as you said, there is a large > overlap between seq.el and cl-lib.el. Once we said we don't want to > extend CL too much because it should be compatible with Common Lisp. We've dropped that argument a long time ago -- it's free-for-all-time in cl-lib.el. > That was one reason why seq.el had been started. When we now say that > we can't implement something in seq.el, something that is a practical > need, because it already exists in cl-lib, we have a problem: we will end > with two incomplete and half baked solutions for sequence handling. They're both fully baked, but use different design philosophies, catering to different audiences. Of course I think that all seq.el functions should have :key... and :test-not and :start and :from-end, but I come from a CL background.