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: [PATCH] Re: Bignum performance Date: Wed, 16 Aug 2023 07:18:54 +0200 Message-ID: <2dec78a7-76e0-8789-4d20-7f0f6effe28a@gmail.com> References: <874jkzllqq.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19360"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cc: emacs-devel@gnu.org To: luangruo@yahoo.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 16 07:19:46 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 1qW8wc-0004u2-Nd for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Aug 2023 07:19:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qW8vz-0001rN-93; Wed, 16 Aug 2023 01:19:07 -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 1qW8vt-0001qt-1H for emacs-devel@gnu.org; Wed, 16 Aug 2023 01:19:03 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qW8vq-0000GN-N0 for emacs-devel@gnu.org; Wed, 16 Aug 2023 01:19:00 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-99cdb0fd093so827832666b.1 for ; Tue, 15 Aug 2023 22:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692163136; x=1692767936; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:cc:to:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=p0YchAM2hf0PaI754bLOBdRDnked07YobRFc0PrPSGw=; b=bPSqHc8e++lxLfz1KKh1XED9hjhdo5U2rcMt3xUnhtuMw1PQ3Fq/iH8uWT38OcIrEY NdpClMaok36EC+s6HtmzGpxxB6hv9OLHv4hNNxlIW0JMsnMrfHh+P4aGGVZDK3n3d2U9 aMuFZBxgV+bbVe//xuItdkBGVTycgU4vgYkjrdyz0atZwX0X+WD6CX8NePMRV+z3k0WT hmIjfDMYrNqWwPfyn/rBENW1G496IJ+sCFVDlm05IpXhRHflOXdzaSQujtQO8t7sTsvk +Ae/8yoAyp3K6VLKOO87FGkwH6M54vHE17u0rj+AWhvN46sV7elNyh/Nzu39+hoJTnsn 1BBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692163136; x=1692767936; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:cc:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p0YchAM2hf0PaI754bLOBdRDnked07YobRFc0PrPSGw=; b=Hw/SHaAkP10YixzpEj0nSQ/6JrBtEeKN9E31P7Hxuu2d+IL7khHqwxS7wd1NQT9Q04 ocDGlZT1U9XtleDKIEPtbzsaZSuCe7Z5GkL5V/4iY5ccD0lDvekconlFZZugRQYHZzxA b4oMw6LhIgN/v8HlfusABpf84hcTuDrbT4EdBP7eS78WEYfuM/xKk5VVMQCNC76ODj7U hpsYU6/4/zG2tnjQH5YNjgqaL3WJe0mYybpNQay9wDAs77hIa5KrejBJTnPZOgs+qftO 6z4GF8mFY7hNdstt9PlURAZrkCVd9kQqvXQ7NKSme5kxt2JJuAWT812Sbh6/JKzIv/n7 MkDA== X-Gm-Message-State: AOJu0YwKgFq4MNPKGtAetNlbxk/b+TamvGwX6HWpCqsu5sxIn1oHV/8a GGOJOer+3StmxyVQWHriRf9iFCwyjDs= X-Google-Smtp-Source: AGHT+IHIsbKJO43UJLWdTMA/iY1zlqNIqPIkKCOt73qdhtggwLa19xdxstUkHDpI4BivpzdWuJl/Qw== X-Received: by 2002:a17:906:18aa:b0:993:f2b4:13c9 with SMTP id c10-20020a17090618aa00b00993f2b413c9mr522326ejf.21.1692163136276; Tue, 15 Aug 2023 22:18:56 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e36e45.dip0.t-ipconnect.de. [217.227.110.69]) by smtp.gmail.com with ESMTPSA id s19-20020a170906455300b00992eabc0ad8sm3755382ejq.42.2023.08.15.22.18.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Aug 2023 22:18:55 -0700 (PDT) Content-Language: en-US In-Reply-To: <874jkzllqq.fsf@yahoo.com> Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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, NICE_REPLY_A=-1.045, RCVD_IN_DNSWL_NONE=-0.0001, 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:308794 Archived-At: > 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.