emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: t and nil in pure memory?


From: Tobias C. Rittweiler
Subject: Re: t and nil in pure memory?
Date: Thu, 12 Nov 2009 09:21:33 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> > The last GC before dumping generates 200K calls to mark_object, of those
> > 20K have Qt or Qnil as an argument.
>
> > Would it make sense to put Qt and Qnil in pure memory?
>
> No, because they may contain pointers to objects that aren't in pure
> memory (via the plist).

In principle, you could scratch the plist slot from symbols themselves,
and instead make `symbol-plist' go over an EQ hash-table. (Such
externalizing of the symbol plist may make more sense in other dialects
of Lisp where the plist is used less often than in Elisp -- even though
I'm not aware of any implementation which does.)

  -T.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]