To keep an environment from the being garbage collected,
assign it to a global variable -- as long as the variable
holds the environment, it will be safe.  This won't speed
up the GC.  It's possible to make s7 strings that are not
seen at all by the GC (make_permament_string), but it's much
trickier for an environment -- you'd have to be sure that
every cell of every variable in the environment was
permanent; otherwise the cell might have no one else
referring to it, and the GC would free it.

_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to