On Wed, 23 Sep 2020 12:46:25 +0100 Ivan Levkivskyi <levkivs...@gmail.com> wrote: > > Another thing is that making CPython itself JITted may be even harder than > adding some (opt-in) static based optimizations, but > I am clearly biased here. > > Actually what would be really cool is having both: i.e. have a JIT that > would use static annotations to speed-up the warmup significantly.
Numba allows you to specify the signature of a function (i.e. the concrete argument types it accepts). That said, the goal is not to speed up any warmup phase, but to override type inference when it doesn't produce the desired results. Regards Antoine. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/TKKUNEBFVRDOIZSKNZFZIO6M22SZVGRS/ Code of Conduct: http://python.org/psf/codeofconduct/