A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-April/034600.html below:

[Python-Dev] Garbage collecting closures

[Python-Dev] Garbage collecting closures [Python-Dev] Garbage collecting closuresNeil Schemenauer nas@python.ca
Mon, 14 Apr 2003 15:09:14 -0700
Paul Prescod wrote:
> I'm no going to advocate a particular strategy because I don't know 
> enough of the performance and implementation costs. But you asked for a 
> strategy so I'll at least suggest one. Python could run gc.collect() 
> after returning from functions containing nested recursive functions. 

gc.collect() is too expensive for that to be feasible.

  Neil



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4