[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Mark.Kantrowitz@A.GP.CS.CMU.EDU
- Subject: Re: consing
- From: "Michael_Travers.EuroPARC"@Xerox.COM
- Date: 28 Jun 90 16:35:36 PDT (Thursday)
- Cc: email@example.com
- In-reply-to: Mark.Kantrowitz@A.GP.CS.CMU.EDU's message of 28 Jun 90 20:14 BST
- Sender: "Michael_Travers.EuroPARC"@Xerox.COM
The following code, grafted from some MACL examples, defines a GET-CONSING
function for MACL that returns the total number of conses used. While this
is usable for my code, I really need a function which returns the total
number of conses used since the beginning of time (i.e., it shouldn't reset
after a GC).
Why don't you advise GC so that it keeps a running total of the number of
flushed conses? There is an advise package available from MIT, but it's
easy enough to kludge it for single functions.
Oops, actually, this probably won't work since most references to system
functions do not go through the symbol. I've asked Apple for some way to
get around this before. It makes customizing the system rather difficult.
Maybe if more people ask...
- Re: consing
- From: Mark Kantrowitz <Mark.Kantrowitz@A.GP.CS.CMU.EDU>