From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Bignum performance Date: Wed, 16 Aug 2023 14:42:33 +0800 Message-ID: <87zg2rjxnq.fsf@yahoo.com> References: <874jkzllqq.fsf@yahoo.com> <2dec78a7-76e0-8789-4d20-7f0f6effe28a@gmail.com> 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="27115"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 16 08:43:27 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 1qWAFb-0006yJ-Bp for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Aug 2023 08:43:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWAEy-0007ox-IU; Wed, 16 Aug 2023 02:42:48 -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 1qWAEx-0007op-46 for emacs-devel@gnu.org; Wed, 16 Aug 2023 02:42:47 -0400 Original-Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWAEu-0007OM-10 for emacs-devel@gnu.org; Wed, 16 Aug 2023 02:42:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692168160; bh=D8ZBLOZY8FutLxDqtPEyZY4lHl/Nn0rk/qwQTn8OeUs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ud/bre8jldscmq/dFWNRv7tnSzJUZojcNSWa4kswQ6gUSHThrZmI9NzAnoN9R7ssPeho989kdpzAWDOvWMFdREfXkdNwSGaGUEoTAxPthYh3uGfTF14g+N6mb14+9MK/+IMPhdHh41SLUCuLmNd4wvmIKrct/4VN9cFeakVVM2OvcYa67S+H11ukEvwEzWHZ0mpwu14x8Nal0kFHBYGXwgSXbP/YZ3FHPP2cb9M9V3k/ADIrYZ7dFoxhAE70TbOgAHWIfaq3H+upJ7Ncb604TK1qBbuR3ufIxtfWdnt4tRomU49nSHkicsPvKgLTQlYUp1cdki8JnBt6Kz0sPn+6UQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692168160; bh=r0G4W1YCNDR9Ohdi7sIAxyoKrEXgZOvASAObVCIZ2Ta=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=SSZpL1MegKZeP+vVVdoNkBhfz9NfOO4l/V4wnjSgZsgnLFZfcKB+EuY9Ox+1N2wg3gAG15ZqJcVKk04KvWKZpQx88BwFDdO2M35u09A8BDZ7t/ZSI7MnRjEeS462Beh2nqW/wPFuz+Yf2I6kyPb6v4jPoiab6G6ohnI82ZsOBDWm9gI+ck4jMqFjLg0DPuxUUaSjI2Yv7QOG4tY0eTCVwK7esk+tPtE2HIysGAblsGP0jsQ+pY01E9LV+CkRfzKgxfIVcbGdv5y/0lxidxpQaohMmBNsPlMnJpjOkt1ohSn3K+xJUw6YH5Hfb1fnW98XXfmpAx9QSCJ7He73Fnt/eg== X-YMail-OSG: ebPcIcIVM1nPDvtLOcHZiVsAcTQb7LMQYoPNNUBfFAeDLOllBYsdBxvNPGrUVPA AVAsasuWcBwb0GvDtJlakMTabRDWYLK8WWaKJZBOQJdOUzN0YdWoWQRy8.EyPNHuxuEGIn530xDf 7Ujj6YO57cjFp.ykHGAMLwa.o4BN1fs.gi1GWXfZvFMNz4C_IYE3mWeTktgXkstuUg9BTeiKoiSb WOG8xbD6.4LNcTe7tqIfIzTO_9dJNE3ObosVWnWji6E6Ba0Di7AyRVAfunmnKw4hYdP2yJsBKSDs btWy9EtqIUTeWYFWK0qMgn.GfKJnJ.roopn1mnSYUIDRfjFTdS8u5NjkHMcVa_Mqsv10SNJoHj1X hvS6sF1gYWbvXO8NSXcvCc4DdPRQ3_grZgTqkjndKQoeIALCEglAgQJctLj9TDBj09g9IbjESUx2 dJ6zNPVTjY59Q92rlrjGSliRxbYwkigOfmzKSEy_nm1SYRayP7TKm5eUo2tstPhTUHXk9NvP.UM3 6siGiD8WMIW1BBlTwPKIkCI_ERHMljxAK5xPejVNlaUquHj5ggdoH5QoxuOCpI30xXUx6dIaadIz VBKmHFgqeYprUi1Z4IC.jV6CAJsRFLckgFtKvHvtbZICT3h9EdOoJefNWQ30U5dUEzg28oyxlnQE AA6FLlnYYBPUqQWIXmZGfkSvyqxw3n1rLZytjw6CzZAxZYmiU66TiL4zS1XPM3pmVbfc9njlATpJ XESs3b1pHkudceTaGwAitsQbGG6DkSH_CE47GVIDhkvlBe9H3SPj.NMcJ0tDm396DX.VOvnwsgay 31EyTHJIT32Zw9j9e5gns1XuB1Ar_TFhT_oy6yKp9g X-Sonic-MF: X-Sonic-ID: 35fb5f3f-de36-47f9-b0bc-be2a456e0b95 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Wed, 16 Aug 2023 06:42:40 +0000 Original-Received: by hermes--production-sg3-69654d8bd-l9pxw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 17aaebb6f4899f93d3ddbbc3f76229a4; Wed, 16 Aug 2023 06:42:37 +0000 (UTC) In-Reply-To: <2dec78a7-76e0-8789-4d20-7f0f6effe28a@gmail.com> ("Gerd =?utf-8?Q?M=C3=B6llmann=22's?= message of "Wed, 16 Aug 2023 07:18:54 +0200") X-Mailer: WebService/1.1.21732 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.206; envelope-from=luangruo@yahoo.com; helo=sonic312-25.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:308796 Archived-At: Gerd M=C3=B6llmann writes: >> I don't know about SBCL, but as for Emacs, refer to the definition of >> VALBITS in lisp.h (maybe also the right files among m/*.h and s/*.h, but >> I have no idea where they've disappeared to.) > > The SBCL I have here, a Homebrew installation, uses the scheme where > > ....0 -> fixnum > ....1 -> other objects (discriminated by additional tag bits) > > I had the same for Emacs in the branch gerd_int in the 2000s, if > memory serves me. In today's Emacs, 0 is Lisp_Symbol; this facilitates representing Qnil as C NULL.