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?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: bignums (was: MPS: optimized build) Date: Tue, 7 May 2024 10:15:49 +0200 Message-ID: <5E016D2B-A4A8-47A0-A679-7082E418C99C@gmail.com> References: <87bk5j12dc.fsf@gmail.com> <87jzk6ytzo.fsf_-_@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38475"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?Gerd_M=C3=B6llmann?= , Emacs Devel , Eli Zaretskii To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 07 10:16:58 2024 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 1s4G0P-0009q1-S9 for ged-emacs-devel@m.gmane-mx.org; Tue, 07 May 2024 10:16:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4FzX-000270-OW; Tue, 07 May 2024 04:16: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 1s4FzT-00025l-EN for emacs-devel@gnu.org; Tue, 07 May 2024 04:15:59 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4FzQ-0007wG-L2; Tue, 07 May 2024 04:15:59 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2e0a0cc5e83so27851551fa.1; Tue, 07 May 2024 01:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715069751; x=1715674551; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=se4kgJVsfxxwhTC1pxaK8IwWGF+z0frVdtfHoTfrwb0=; b=W7V8fVb3+Nq3MH79CW7+4l8oYsS0Lgimxn40hp4FFCwIapFiASfF7jKOv6dNc0HMmc ctiqacOiwrspBApe1qjTQBIacCu7WnUjuerMb51I9YFDgFrbILU0r3qL8+RmbKJNfVBJ qK0Jw1NQuwelWz/GBlRpRu+0a9wj5sfy6MBZtGzGBXzNDgw+iXMjROHjZFQBmE1NGAxH PWxMY5iyd8DyjGhnu9Pl8gNCFP9HUgJBZ4wPNWR6pvkNzsckHKKBPzJYGOVJk2xF3949 plWKaGVgyU3jb8r5s7g0R5W+OJ2/CNqCz0dYCqPThAj6WNuDyf/OtlkiMZJgp9h2u75Q kmlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715069751; x=1715674551; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=se4kgJVsfxxwhTC1pxaK8IwWGF+z0frVdtfHoTfrwb0=; b=sSqIFf4A0pgHfZApWf1sE7CswIp+o5NHMG4Bes1DLWI6LFDNhpXwpIF7hoIRSiuFsL xoBfIeHs95V3AHoln4UCFnQW1dwDRhmgMSibg7aGATD5+/IQbZLR6pkN27r5sEBy1oyM XnecAI/nxe2qRVJ6Pl83g2eOG9zWorChZHtTXQMuWu0j7HTEB2DMqwRnDkFARaLL0NP0 FNNREWXElxanQ+ZUzP27EIONMbxteB+UinfIJvVW+3Aei/bMS9UXjP30QpkHY9MEBfWG 22AoKGnEhqpOrKxBsj7kPHMl2YpWCF1wgJlJnahx25CMy4UV5GNAPhpe/gN/ovdy6mm3 2oWA== X-Forwarded-Encrypted: i=1; AJvYcCUn1xw83nqpTFDKuxddCIGrbQsLeVN/mO5HMtbBCmw2JinjHAUSeVwxy/Gsw3DW/RiM/PesUaNNUVQ2mN29W0Z9J2iduE9s70ihz5gH8cYujeY= X-Gm-Message-State: AOJu0YxPDH82SiccEAn+WNMNwNh6KY3ZcA0Rxre+Al1D+7P+vTA314wh +4jUc1bchRLXsktb25HZLgQ9W+RPYVZhkXKf7AZAl8s7pV7zqO4k X-Google-Smtp-Source: AGHT+IF4WKotJGzRzs84KQk2t2CMqO4doBi8ksIO+sFn5hVOM0LNge3Qq3L9TKl/alef9n2KWkClVg== X-Received: by 2002:a05:651c:211c:b0:2e1:a767:a80a with SMTP id a28-20020a05651c211c00b002e1a767a80amr9460503ljq.38.1715069750992; Tue, 07 May 2024 01:15:50 -0700 (PDT) Original-Received: from smtpclient.apple (c80-217-1-132.bredband.tele2.se. [80.217.1.132]) by smtp.gmail.com with ESMTPSA id l9-20020a2e9089000000b002dfe57c196esm1843167ljg.45.2024.05.07.01.15.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2024 01:15:50 -0700 (PDT) In-Reply-To: <87jzk6ytzo.fsf_-_@gmail.com> X-Mailer: Apple Mail (2.3654.120.0.1.15) Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=mattias.engdegard@gmail.com; helo=mail-lj1-x230.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 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:318925 Archived-At: 7 maj 2024 kl. 09.13 skrev Helmut Eller : >=20 > On Mon, May 06 2024, Helmut Eller wrote: >=20 >> I had to disable the pidigits program because the MPS version ate all >> memory and began to swap. There's probably something wrong with >> bignums. >=20 > It seems that bignums aren't freed because that would need = finalization. Surely we must be able to allocate bignums in a single chunk? It's the = ultimate leaf value, no references to anything else inside. I understand that you want to do the least amount of work now, and = that's fine. Just ignore bignum performance, at least for now; it rarely = matters. (We could even drop GMP if that would help the memory = management but it probably wouldn't.)