News for hackers. Stuff that matters.
Re:Type hinting for Python by kbenson on Tuesday January 06, 2015 @12:34PM (#8845647)
- The interpreter/VM can use them to optimize some code to very fast equivalents or some data structures to very compact equivalents.
Re:Type hinting for Python by roye on Tuesday January 06, 2015 @12:46PM (#8845748)
sounds like Cython. Are any such optimizations planned for 3.5 (or beyond)?
Re:Type hinting for Python by msellout on Tuesday January 06, 2015 @02:39PM (#8846462)
Not that I'm aware of. This type hinting is currently planned for analysis, not for efficiency.