Good news!

Answer to myself:

In interpreter, all the computed value is stored in BOOT variable
$frameRecord, it is used to implement ")undo".
(This is found out by sb-ext:search-roots.)

I use ")undo" very little.  At least we should have a setting
to toggle the ability of ")undo", just like ")history".

So when this mechanism is disabled, we can further decrease the
number of kernels in cache during a session.

- Qian

On 5/10/26 10:47 AM, Qian Yun wrote:
> 
> So with the patch in attachment, I can confirm that unused kernels
> (for unused kernels, I mean stuff like [sin x for x in 1..1000])
> can be recycled by GC, in *spad* code (compiler) but not in interpreter.
> I've already disabled history by ")set history off".  I wonder
> are there variables reference values computed in interpreter?
> 
> - Qian

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/e32d91ff-9e62-4d8f-85ee-9c84f7f13380%40gmail.com.

Reply via email to