unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Question about pure space
Date: Thu, 18 Apr 2024 17:01:24 +0200	[thread overview]
Message-ID: <m2le5ag1ff.fsf@Pro.fritz.box> (raw)

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?)



             reply	other threads:[~2024-04-18 15:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-18 15:01 Gerd Möllmann [this message]
2024-04-18 15:11 ` Question about pure space Andreas Schwab
2024-04-18 15:37   ` Gerd Möllmann
2024-04-19 15:48     ` Robert Pluim
2024-04-19 16:32       ` Gerd Möllmann
2024-04-19 16:49         ` Stefan Monnier
2024-04-19 17:38           ` Eli Zaretskii
2024-04-20  5:42             ` Gerd Möllmann
2024-04-20  6:17               ` Po Lu
2024-04-20 13:43                 ` Dumping unexec (was: Question about pure space) Stefan Monnier
2024-04-20 14:14                   ` Eli Zaretskii
2024-04-20 14:44                   ` Dumping unexec Po Lu
2024-04-20 15:10                     ` Gerd Möllmann
2024-04-20  6:25               ` Question about pure space Eli Zaretskii
2024-04-20  6:38                 ` Gerd Möllmann
2024-04-20 19:03                 ` Ulrich Mueller
2024-04-21  8:56                   ` James Le Cuirot
2024-04-20 23:31             ` Richard Stallman
2024-04-21  5:10               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2le5ag1ff.fsf@Pro.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).