From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: [External] : Re: Emacs 30.0 warning from `cl-pushnew' and `memql' Date: Thu, 29 Dec 2022 11:12:08 +0100 Message-ID: References: <878ritgaty.fsf@dataswamp.org> <87o7rprvia.fsf@web.de> <87zgb913fg.fsf@dataswamp.org> <87ilhveo2s.fsf@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5iT4q6h9FSqT+IDh" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30063"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org, Drew Adams , Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 29 11:12:52 2022 Return-path: Envelope-to: geh-help-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 1pApu8-0007fv-LE for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 29 Dec 2022 11:12:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAptY-0004rF-3k; Thu, 29 Dec 2022 05:12:16 -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 1pAptW-0004r6-Ps for help-gnu-emacs@gnu.org; Thu, 29 Dec 2022 05:12:14 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAptU-0004JG-Lb for help-gnu-emacs@gnu.org; Thu, 29 Dec 2022 05:12:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :To:From:Date:Sender:Reply-To:Cc: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=Yd8g1HuLh+sTyBW3xVOarI+L9kgmle/GwQXBn65MPI4=; b=Qj+/UM1W5NRQKdwfSUGROAzezI lDdlnpG86/PJRp3zs2ZwH6KP6KLbWFPlFjSnpV6eBZsJMdhCQmO4A/7nX35X6c4iahbmcS35n5G6y +kz3SuI0YPENfcDyGIUSvvOONTCozowuIqauNbhK4wNhX8wD5r6tJ+V3xIO/0gd1VYO78OdmL3h25 Y8PnT1um3YTgp7IJU1RTV/TGDWjBbMuyRvOUZkHikgodjAay5aDGYP0n10xwdGi+izBxCZ4Obe5gI HLFRlaB+7MifcuIDPYZUTLVxo7HRndrFZnpVT0fMfC5hBcqaSs8VJ2+Fdhf+RosqF16dKHkKFv1pZ vcmS+MLA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1pAptQ-00015J-8W; Thu, 29 Dec 2022 11:12:08 +0100 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142016 Archived-At: --5iT4q6h9FSqT+IDh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 29, 2022 at 12:18:01PM +0300, Jean Louis wrote: > Thanks Thomas, after following your corrections: >=20 > (setq my-list '()) =E2=9E=9C nil > (benchmark 10000000 '(setq my-list (cons "Word" my-list))) =E2=9E=9C "Ela= psed time: 5.943843s (4.111302s in 3 GCs)" >=20 > It works! >=20 > > Read benchmark's doc string carefully :-) >=20 > My misunderstanding is with FORM and BODY, when I read FORM, I > understand it is same as BODY. Now I see the difference. >=20 > I have found reference in Emacs Lisp manual, but I cannot find > reference that FORM as argument means quoted sexp, if you have that > reference, let me know It's a bit subtle, since the point is rather the intention than the data type itself (the result of an evaluation is itself a form after all -- that's the magic of Lisp). The next I came to it (I searched Elisp's manual with `i' then `form' is "10.1 Introduction to Evaluation": A Lisp object that is intended for evaluation is called a =E2=80=9Cform=E2=80=9D or =E2=80=9Cexpression=E2=80=9D(1). The= fact that forms are data objects and not merely text is one=20 of the fundamental differences between Lisp-like languages and typical programming languages. Any object can be evaluated [...] Worth reading :) Cheers --=20 t --5iT4q6h9FSqT+IDh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCY61n8QAKCRAFyCz1etHa Rk94AJ0eb7DI9dwAoquHtIuutXCVo3m1RwCeKqJkxombkqpVVxTafpNLRAHdU40= =FhqG -----END PGP SIGNATURE----- --5iT4q6h9FSqT+IDh--