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: Question about pure space Date: Thu, 18 Apr 2024 17:01:24 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37452"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 18 17:02:24 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 1rxTHJ-0009Qd-LD for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Apr 2024 17:02:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxTGn-00050t-AL; Thu, 18 Apr 2024 11:01:52 -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 1rxTGe-0004zx-NO for emacs-devel@gnu.org; Thu, 18 Apr 2024 11:01:45 -0400 Original-Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxTGW-0000GW-EH for emacs-devel@gnu.org; Thu, 18 Apr 2024 11:01:38 -0400 Original-Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-56e1f3462caso1329940a12.3 for ; Thu, 18 Apr 2024 08:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713452486; x=1714057286; darn=gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=RoFzH6BRtOvnkEPrVQxCwg8QA3/6G89ohQwM0Umm7is=; b=e6aYKUs9bzsqVpIVa0z6dt8t3PDSHewjF21lOx+0ty/xSnBxOhzmTe3O3w0sDICU+b rbnBFBaD2n/2AAke10uGx7gJFIDx6mohqiXfEqJamOqkBwvBsr+2ms/3kXP1dGJcE5dr BD/SsjFIvJtwoA37Y1YX/bGhZURLz6yLYHQYrWXP2rPSkhEf8efn/1JC+huz4xiHnGs6 ULo/4iEOThUvAHnsTrn7FxsTVPTzdGXms7Skor5Pt6Hgdh/G2WwKjP5tuB3AENs1Wus/ OMrZ0u8ouVf2U34NH2MOBYFm144vqw9Dy6kZPh23GlbrBdAPchJe5e3UHbpk+f5Tz6C+ FTDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713452486; x=1714057286; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=RoFzH6BRtOvnkEPrVQxCwg8QA3/6G89ohQwM0Umm7is=; b=RB+6lFofPFdRsGN7g891kfum9wm6Mv8l7kFP/QYUX1sIe26/2KWmXvb0HT7ZCRWwnI +bEGYa4QpkHejiVPw1y775DIwK4X+VqTwJZEE/aoo2CSEcQM9CtOQN7j2e1RxjVk/BvF V4F6zGEGBoEzYK6ionVrEsRGphtGyPICRtzzjfzip+wLD7+9mj5jaZ1sO5RRoIYeN3Jp 2SJTb6MGkJqIH9Kg14O65/RUb4T30H0y39c+8JNOxWWmw0xRIj2xc4QjeruaMccBsLym i6xdJtc4vp+PNSO7IJB2s6bPUeEGwBdWTIdAFSKa9VNNSkAQGlr98ql2DoTm+wH1oDDb UiDw== X-Gm-Message-State: AOJu0Yyqyy5poFqaJUFNb+E8SNUNnTroppooQC3IPRoIOylfWSv9jPwo 2xRRP0PCgpr+bzQQkrX10jOCLVwF048TxWPgcWR3YmJnLVxFmU4MjTGi0bUZ X-Google-Smtp-Source: AGHT+IGwohUULv63PjGHc6iqpx/AleqBgPv0wqdo1qnO8nSaV3JGVuxyEE2uyo0Oe/CiwKG6gRfvng== X-Received: by 2002:a17:906:fcd7:b0:a55:6129:85dd with SMTP id qx23-20020a170906fcd700b00a55612985ddmr2497158ejb.55.1713452486299; Thu, 18 Apr 2024 08:01:26 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3aa81.dip0.t-ipconnect.de. [79.227.170.129]) by smtp.gmail.com with ESMTPSA id cd19-20020a170906b35300b00a4673706b4dsm1013248ejb.78.2024.04.18.08.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 08:01:25 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x532.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:317816 Archived-At: I'm trying to understand pure space better for the scratch/igc branch. >From my flimsy recollection, there is a pure[] array in which Lisp objects can be stored. That array still seems to exist, and it is quite large on macOS, ca. 6Mb. The odd thing is that I can't find where it is used. The function pure_alloc always uses purebeg, which is initialized to NULL, and then gets malloc'd. What the heck? Is pure[] used at all? If yes, how? (If not, why is it there?)