<div dir="ltr">Hi, Woody's suggestion would be great for me. That's essentially what I'm doing manually, but it would cut down unnecessary processing a great deal if I could instead just do it when the gc wakes up. <div><br></div><div>I've been using (set! (*s7* 'gc-stats) 1) to watch what goes on. Is there a way to see when a heap reallocation happens too? or do I just have to get that info from looking at the gc pass stats after it's done?</div><div><br></div><div>thanks everyone!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 10, 2021 at 7:00 AM <<a href="mailto:bil@ccrma.stanford.edu">bil@ccrma.stanford.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm willing to add gc-hook -- I'd also like to move<br>
all the other built-in hooks into the *s7* environment.<br>
<br>
While writing that previous message, it occurred to me<br>
that the type field could be separate from the cell,<br>
and then the amount of memory the GC has to read in is<br>
cut by a factor of 5 or 6.<br>
<br>
And then I noticed that s7_error turns the GC on --<br>
I think that is left-over from some previous debugging,<br>
but it will take time to test.<br>
<br>
</blockquote></div>