3 ms·
I wonder if you could add a `python --fast` mode that disables certain rarely or uncommonly used dynamic features that enabled the python runtime to JIT or do s
by eximius 7y ago
I wonder if you could add a `python --fast` mode that disables certain rarely or uncommonly used dynamic features that enabled the python runtime to JIT or do something clever.
Alternatively, doesn't disable, just does unwinding like speculative execution on processors.
Alternatively, is basically just adding PyPy to CPython.
I guess no new ideas here.
- nerdponx 7y agoOr just ensure that Vy works on PyPy.
- Asooka 7y agoYep, it was tried. See: Unladen Swallow - an experimental CPython fork trying to speed up execution by removing some of the least used dynamism. It started 10 years ago and was abandoned 8 years ago. Retrospective at http://qinsb.blogspot.com/2011/03/unladen-swallow-retrospective.html http://qinsb.blogspot.com/2011/03/unladen-swallow-retrospect...