What is the best way to speed up python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is the best way to speed up python

I only want a suggestion for the complete learning faster the python. So please guide me , what is the best way to learn python faster little more due to less time I am not just declared that python is best it was not my attention it's a big goal to me that I want to focus python with my study

27th Jul 2021, 7:19 AM
Navneet Singh
Navneet Singh - avatar
6 Answers
+ 15
27th Jul 2021, 8:30 AM
SωAti
SωAti - avatar
+ 2
Martin Taylor Is Cython nearly as fast as C?
27th Jul 2021, 7:55 AM
Calvin Thomas
Calvin Thomas - avatar
+ 2
Martin Taylor What if someone makes a compiler for Python that converts the Bytecode into machine code? Would it still be slower than C? I have always been wondering why no one does this. Thank you.
27th Jul 2021, 8:55 AM
Calvin Thomas
Calvin Thomas - avatar
+ 1
Martin Taylor Oh, I see. So I suppose that the optimisation the compiler has to do will be very tedious as a single variable can contain any data-type. Thank you very much for your valid response.
27th Jul 2021, 3:00 PM
Calvin Thomas
Calvin Thomas - avatar
+ 1
Calvin Thomas you can look up “Nuitka”. it’s a Python “compiler” after all and can generate binaries.
28th Jul 2021, 10:27 AM
Flash
+ 1
Flash Cool! Although it still doesn't result in code efficiencies matching that of C, it's a good enough improvement over Cython, it seems.
28th Jul 2021, 11:35 AM
Calvin Thomas
Calvin Thomas - avatar