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/2002-December/031274.html below:

[Python-Dev] Zipping Zope3

[Python-Dev] Zipping Zope3 [Python-Dev] Zipping Zope3Just van Rossum just@letterror.com
Tue, 17 Dec 2002 23:18:20 +0100
Wiktor Sadowski wrote:

> >I can see that keeping the file object open could speed things up,
> >but is it a polite & decent thing to do?
> 
> Yes, but it would be nice to not fopen/fclose for each
> __importer__.get_data.

It also does this for each import (I copied this behavior from the PEP
273 implementation). I experimented with keeping the open file object
around, and performance hardly went up.

Just

PS: your computer thinks it's monday.



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