Hacker News new | past | comments | ask | show | jobs | submit login
Turbocharging Python with Command Line Tools (owlskip.com)
15 points by brendanmcd on Nov 12, 2018 | hide | past | favorite | 3 comments



In the first example, the JIT version takes 0.218s and the non-JIT version takes 0.0007s.

Isn't the JIT version supposed to be faster?


Yeah that is interesting. I hadn't noticed on my first read through. He was absolutely touting the benefits of JIT with a claim "In some cases a JIT version could make code run thousands of times faster, but benchmarking is key." I guess this benchmark shows that it is quite a bit slower in this particular case.


Isn’t all the performance improvements by JIT completely swamped by the abysmal startup cost of the python executable?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: