From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: What's missing in ELisp that makes people want to use cl-lib? Date: Sun, 12 Nov 2023 08:11:22 +0100 Message-ID: References: <12da6bcb-1818-7fbe-12af-8d4607724332@gutov.dev> <87il6bt4z0.fsf@yahoo.com> <8734xetjkk.fsf@yahoo.com> <87cywhsrcf.fsf@yahoo.com> <87cywgx1z0.fsf@web.de> <83wmuowwp3.fsf@gnu.org> <8334xcwank.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28138"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Dmitry Gutov , Eli Zaretskii , michael_heerdegen@web.de, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 12 08:12:25 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 1r24dt-00079u-FQ for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Nov 2023 08:12:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r24cz-00017w-RK; Sun, 12 Nov 2023 02:11:29 -0500 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 1r24cy-00017n-Be for emacs-devel@gnu.org; Sun, 12 Nov 2023 02:11:28 -0500 Original-Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r24cw-0001z4-Nt; Sun, 12 Nov 2023 02:11:28 -0500 Original-Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-991c786369cso537696766b.1; Sat, 11 Nov 2023 23:11:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699773084; x=1700377884; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m1pfu8Crc1XDR+nj2466hzDCD6uf6BOoaKYOrE2lZ3I=; b=apZX7Dd0CCpKvMvnJ74/ClZdwqhy6+y7jm/N/XTySkkOdBTj2heefcARBXQQOkBQe9 D3E2N4R01Kqprmmj6olzdfjqEqDPBsj0P7HlAuPfnfSA3y7VgbdivgbbrNxIHmbirjWO hA5xijYrNHNH9S4oSIIRAI0+vooY42OpTC9H+WNlh92B0I07aBXsGGId9A0HvOzY5EL6 4Io08MNx/liMzvjNtJaB//ALdVQCcDIPAqS/m5fN12hCVNF7rBuKk23ywIDdUhcw339Z hMLCR9bYnQfjk486HSi/BNTa1wn6virLHOwzd+fI5D2MSUdc/Skxx54GLJLLG7xkRWSa V1NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699773084; x=1700377884; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=m1pfu8Crc1XDR+nj2466hzDCD6uf6BOoaKYOrE2lZ3I=; b=jWOQMMCQHlEluKwvhyaGQBJBDOxBW9Gskb3n6UbQFJTMsdfx/aTjwgx0JiiV0R7+Hm iBulwOX6euyE+ZHshKAz5h5CBQHtRjK6zvoFH7IKCpuGRHHfphzHKGk0ZzA6Vx4IdNW8 p9iuZfckrx5YNOFpnxruDcbxJVwbxYXXmGIRXrwbkKVY4ogqZwAM2S1cBiJ2HPhEY/fT kCnU6uPA/Koepspkn5D/Jk721Lpa4eQjam1+YbC90OENi2mj2I7H4qz/C1XFP6EsMkh/ qu6BIggvSY7TkH0R/9Z8DFCyx/fvxA4PdYK+Sdy+8Ytw9P2n2vcETjit0GOMg+ibplNW wpcw== X-Gm-Message-State: AOJu0Yww218QV/omH/29knBoD9VQTXg7tJ2P+q+XVQ19Cy5u5p8s1lUx qei0lPXdmowex0XrEGGLwYxL94OTU1c= X-Google-Smtp-Source: AGHT+IHc062DdOF8ZvqRo/UN5uWZw+iDOSQftQTU2tonwMrvOD4t8oJ4DvuxZxmvyMUgZyq0c3w15g== X-Received: by 2002:a17:907:9486:b0:9bd:f031:37b6 with SMTP id dm6-20020a170907948600b009bdf03137b6mr2807739ejc.49.1699773084034; Sat, 11 Nov 2023 23:11:24 -0800 (PST) Original-Received: from Pro.fritz.box (pd9e361d2.dip0.t-ipconnect.de. [217.227.97.210]) by smtp.gmail.com with ESMTPSA id h23-20020a50cdd7000000b00533dd4d2947sm1954838edj.74.2023.11.11.23.11.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 23:11:23 -0800 (PST) In-Reply-To: (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Sun, 12 Nov 2023 02:36:54 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x636.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:312640 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > In larger lists, the difference is attenuated. So that's why > I conjectured that dynamic dispatch played a role, but I > didn't check. Also interesting could be how/if performance changes once methods are defined on generic functions. That would make a difference in PCL, for instance, because the presence of more than one method would make a dicriminating function necessary. That's the function dispatching to methods based on argument types, for example. Or it could be, of course, that Emacs's doesn't do optimizations on that level at all.