Improved memory usage of collect, append, and prepend list accumulators.
Improved memory usage of collect, append, and prepend list accumulators.

Consider

{Show for I in {List.make 10000000} collect:C do
	 {C I}
      end}

Old version allocated 3 nodes for each iteration (of which 2 are
garbage).  New version allocates only 1 node.

Thanks to Luis for spotting.



eregon/mozart-graal,eregon/mozart-graal,eregon/mozart-graal,yjaradin/mozart2,mozart/mozart2,yjaradin/mozart2,eregon/mozart-graal,mistasse/mozart-graal,avisparesearch/Mozart2,dianacgr/mozart2,eregon/mozart-graal,mistasse/mozart-graal,eregon/mozart-graal,dianacgr/mozart2,eregon/mozart2,Angeldude/mozart2,Angeldude/mozart2,layus/mozart2,dianacgr/mozart2,eregon/mozart2,mistasse/mozart-graal,mozart/mozart2,layus/mozart2,eregon/mozart2,Angeldude/mozart2,yjaradin/mozart2,mozart/mozart2,layus/mozart2,mistasse/mozart-graal,avisparesearch/Mozart2,mistasse/mozart-graal