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: Lisp files that load cl-lib in problematical ways Date: Thu, 26 Oct 2023 12:42:38 +0300 Message-ID: <83fs1xhg8h.fsf@gnu.org> References: <83sf5xhnym.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38355"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, emacs-devel@gnu.org, rms@gnu.org, stefankangas@gmail.com To: Adam Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 26 11:43:26 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 1qvwti-0009mz-CW for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Oct 2023 11:43:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvwtM-0003db-TQ; Thu, 26 Oct 2023 05:43:04 -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 1qvwtL-0003cd-H6 for emacs-devel@gnu.org; Thu, 26 Oct 2023 05:43:03 -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 1qvwtK-0006Rc-Tu; Thu, 26 Oct 2023 05:43:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Xh1/XHqNBtru7PPFtILSPgCeNoN/d4OBSZCTXANlPRY=; b=NOCYPPrnolNq UZcoBLmI86WnuL5M1kq6mYorruxmWG4W69M9ujwhMCYwWUjiJAFjuJpcG4cJ89nPPFppzsopYLMoD vW6XG19uG/1oC8/bxHkY6YiSBuxA5mDa8mtCa5/j2AKSRaUHQ8flST9FfA0lpsmaCwP/uyteCR3Or y6CV+ZXwVIAVaCVmqHCbqoMkh3uovlkr/11psNrb7HXylBqIQ3lo+4rWJsTyEfG4q44YgEhuLUHth WbxECf+tqP2gF3wBLor6+sy8WVATET5yr2VR7dWSlsCUDTFKxwu8anPjIIe6Efs0qvCcGheYotlW3 5JHssF6wRc6PKWm5Tmu57Q==; In-Reply-To: (message from Adam Porter on Thu, 26 Oct 2023 04:31:14 -0500) 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:311894 Archived-At: > Date: Thu, 26 Oct 2023 04:31:14 -0500 > Cc: acm@muc.de, emacs-devel@gnu.org, rms@gnu.org, stefankangas@gmail.com > From: Adam Porter > > > Btw, some of the cl-lib facilities should not be used in new code if > > they have equivalent implementations ins seq.el (which is nowadays > > preloaded) and in map.el. > > Since seq.el and map.el use generic methods, don't they have some > additional overhead compared to type-specific functions, like cl-lib > ones that are specific to lists? Or is it small enough now that it > doesn't matter anymore? I don't know. Feel free to investigate and post the results. If there's a significant run-time penalty, we should work on making these packages faster, since we consider them to be part of our infrastructure.