Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

FORCED COLLECTION OF GARBAGE

Name: THREAD BEGIN 2011-09-27 8:39

I was thinking, we have let and let*, which can be considered like an idea of use-once. Are there commands or values you can tag onto a new thing so the garbage collector knows to keep or forget it?

Even better, it can be optimized by having a sort of graveyard collector, where after something is forgotten, the graveyard collector keeps the name and type of the data, so if the data is called for after it was forgotten, the graveyard collector can just recreate the value with keep set to on.

This way, you could still simplify programs by using garbage collection, but could optimize for when you don't want something around, or do.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List