[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
t and nil in pure memory?
From: |
Dan Nicolaescu |
Subject: |
t and nil in pure memory? |
Date: |
Wed, 11 Nov 2009 12:23:53 -0800 (PST) |
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?
We don't have any function that can create pure symbols.
Moving Qt and Qnil in pure memory would break things like:
(put t 'foo 'bar)
but maybe this works by accident rather than design.
How about other things that have SYMBOL_CONSTANT_P() set to 1? Can they
go to pure memory?
More generally it would be very good to be able to put symbols in pure
memory, about 1/3 of the mark_object calls are for symbols, and it does
not seem that it's too useful to GC `car', `cdr', etc. But it does not
seem to be too easy to do :-(
- t and nil in pure memory?,
Dan Nicolaescu <=
- Re: t and nil in pure memory?, Stefan Monnier, 2009/11/11
- Re: t and nil in pure memory?, Tobias C. Rittweiler, 2009/11/12
- 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