Which raises what, to me, is the central question. If we have optional static typing, can I get a performance enhancement out of it? If not, why bother?
I had some thoughts along the same lines, so I dug up PEP 246 and looked at how it could be enhanced to potentially support compile time code optimisation through static type declarations.
The write up is here: http://boredomandlaziness.skystorm.net/2004/12/type-checking-in-python.html
Cheers, Nick.
-- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://boredomandlaziness.skystorm.net -- http://mail.python.org/mailman/listinfo/python-list