2012/9/6 Timothy Baldridge <tbaldri...@gmail.com>: > > Nice, but that completely missed the point of my question. I know this > wouldn't be a problem in this exact case. The question is: when is the GC > free to free data passed into a function's arguments. Will that function > hold on to all data passed in through arguments until the execution of the > function terminates? If so is there a way to trigger garbage collection of > unneeded argument data before the end of the function's execution?
It depends on the GC. The moving gcs will not keep arguments as stack roots unless they are needed. -- Regards, Benjamin _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev