Memory allocation: Difference between revisions

Content added Content deleted
Line 693: Line 693:
SNOBOL4 automatically garbage collects released data items on an as-needed basis, and moves allocated items to consolidate all released space (so memory fragmentation is never a problem). You can explicitly garbage collect if you really want to:
SNOBOL4 automatically garbage collects released data items on an as-needed basis, and moves allocated items to consolidate all released space (so memory fragmentation is never a problem). You can explicitly garbage collect if you really want to:


<lang snobol4> collect()
<lang snobol4> collect()</lang>


=={{header|Tcl}}==
=={{header|Tcl}}==