[Python-Dev] python optimization
Neal Becker
ndbecker2 at gmail.com
Fri Sep 16 12:50:48 CEST 2005
More information about the Python-Dev mailing list
Fri Sep 16 12:50:48 CEST 2005
- Previous message: [Python-Dev] python optimization
- Next message: [Python-Dev] python optimization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
One possible way to improve the situation is, that if we really believe python cannot easily support such optimizations because the code is too "dynamic", is to allow manual annotation of functions. For example, gcc has allowed such annotations using __attribute__ for quite a while. This would allow the programmer to specify that a variable is constant, or that a function is pure (having no side effects).
- Previous message: [Python-Dev] python optimization
- Next message: [Python-Dev] python optimization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list