QwertyManiac
Commander in Chief
@The_Unknown (Post's directed only towards you) - Python is not slow. It depends on how you code your application. Codes written well, like those of O(log n) and anything thats not exponential. When you learn Python, you're supposed to get to know how to write an algorithm in the best manner, and that really speedens up your code, and sets it on par with any C/C++ code. Python's major part is written in optimized C code.
I suggest you read Python's Wiki for info on writing the best code rather than simply agree with a survey that it is slow and say the same without facts.
As an example, my Sieve Of Atkin implementation (Its an algorithm to find Prime numbers upto a supplied level) takes just 0.130s in Python for finding all primes upto a million. It would nearly be the same 0.100~ if written in C/C++ too. You can try it
And performance isn't limited to tools and methods within Python alone, it can be boosted via external tools as well.
P.s. And yes, I like putting an _ in your nickname. I like it that way. And it looks that way too.
I suggest you read Python's Wiki for info on writing the best code rather than simply agree with a survey that it is slow and say the same without facts.
As an example, my Sieve Of Atkin implementation (Its an algorithm to find Prime numbers upto a supplied level) takes just 0.130s in Python for finding all primes upto a million. It would nearly be the same 0.100~ if written in C/C++ too. You can try it
And performance isn't limited to tools and methods within Python alone, it can be boosted via external tools as well.
P.s. And yes, I like putting an _ in your nickname. I like it that way. And it looks that way too.