+ 3
Is Python a slow computer language.
3 Antworten
+ 3
Thank you 😊
+ 2
I am sure you won't recognise the difference on a modern computer. The most codes work immediatly in python, even recursiv fractals. Slow programs are often written in bad Style.
For example: In Python 'x += 1' works much faster than 'x = x + 1'.
+ 1
@Sebastian: Gotta love the in-place operators. To me, Python can be fast or slow, depending on the style of coding. even = list(filter(lambda x: x % 2 == 0, nums)) is slower than a “for” loop that iterates over the list to separate the even numbers from a given list. Just two cents from a humble Python novice.