[Python-Dev] import too slow on NFS based systems (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Thu Jun 21 16:15:03 CEST 2012
- Previous message: [Python-Dev] import too slow on NFS based systems
- Next message: [Python-Dev] import too slow on NFS based systems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 21 Jun 2012 17:08:09 +0300 Daniel Braniss <danny at cs.huji.ac.il> wrote:
> There is such a thing in Python 3.3, although some stat() calls are > still necessary to know whether the directory caches are fresh. > Can you give it a try and provide some feedback?
WOW! with a sample python program: in 2.7 there are: stats open 2736 9037 in 3.3 288 57 now I have to fix my 2.7 to work with 3.3 :-) any chance that this can be backported to 2.7?
Not a chance. It is all based on using importlib as the default import mechanism, and that's a gory piece of work that we wouldn't port in a bugfix release.
Regards
Antoine.
- Previous message: [Python-Dev] import too slow on NFS based systems
- Next message: [Python-Dev] import too slow on NFS based systems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]