Message387187
+1 on exposing f,__builtins__.
Of course, the thing I'd really want is a way to state that all references to builtins are meant to have the exact semantics of those builtins, so the compiler can translate e.g. len(x) into a new opcode that just calls PyObject_Size(). (I can dream, can't I?)
Another dream: assume that globals that refer to modules, classes or functions don't change, so they can be cached more aggressively.
I suppose enough checking of dict version tags can get us there, or at least close enough. |
|
Date |
User |
Action |
Args |
2021-02-17 19:58:16 | gvanrossum | set | recipients:
+ gvanrossum, brett.cannon, rhettinger, vstinner, petr.viktorin, Mark.Shannon, serhiy.storchaka, yselivanov |
2021-02-17 19:58:16 | gvanrossum | set | messageid: <1613591896.26.0.513882762178.issue42990@roundup.psfhosted.org> |
2021-02-17 19:58:16 | gvanrossum | link | issue42990 messages |
2021-02-17 19:58:16 | gvanrossum | create | |
|