0
Can we make python code Faster as in compile languages?
I wonder if we could take advantage of something to make the code more efficient...
8 Antworten
+ 7
The best way to make your program faster is by improvising your algorithm.
Other methods will not lead to a major noticable difference.
+ 6
Arsenic I totally agree with him! 👏👏🙌🙌
And one more thing is important that really matters!
Avoiding import of modules!
Importing modules also takes a considerable amount of time of the code runtime!
+ 3
Python was not built for speed, it was built for ease and simplicity.
Besides, who is "we" here? you? or is it SoloLearn community? I would assume one would need to be involved in Python development team to try to make it a reality. In which case, one makes the change from the inside (if it was even possible), rather than trying to do it as a user of the language.
+ 1
Oh thanks i will try that
+ 1
Ipang sorry I am mistaken, i was referring to me.
+ 1
Ipang thanks for the advice
+ 1
Arsenic oh interesting, i didn't know that