[Top][All Lists]
[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.
- t and nil in pure memory?, Dan Nicolaescu, 2009/11/11
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/11
- Re: t and nil in pure memory?,
Tobias C. Rittweiler <=
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/12
- Re: t and nil in pure memory?, Dan Nicolaescu, 2009/11/13
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/13
- Re: t and nil in pure memory?, Richard Stallman, 2009/11/14
- Re: t and nil in pure memory?, David Kastrup, 2009/11/15
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/15
- Re: t and nil in pure memory?, David Kastrup, 2009/11/16
- Re: t and nil in pure memory?, Richard Stallman, 2009/11/17
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/17
- Re: t and nil in pure memory?, David Kastrup, 2009/11/17