logoalt Hacker News

ubercoretoday at 10:22 AM1 replyview on HN

This probably has a simple answer, and is something I can easily google. But it's always been in the back of my mind, what optimizations would be possible if you took actual python code and forced 100% type annotation. Could you meaningfully speed that up at the interpreter or with some pre-processing or compilation?


Replies

Etherytetoday at 10:25 AM

Compare the same algorithm/program in Python and C and that's roughly your answer, no?