News for hackers. Stuff that matters.
Re:Why Python keeps growing, explained by bombolo on Friday March 03, 2023 @07:17AM (#35008529)
If the 1 second is spent waiting for IO, it will take 1 second in whatever language.

But yes python is slow.

However I've seen good python code be faster than bad C code.

Re:Why Python keeps growing, explained by roflyear on Friday March 03, 2023 @08:37AM (#35009404)
Well, to be fair the "good python code" is probably just executing something written in c lol. But lots of python is backed up by stuff written in c.
Re:Why Python keeps growing, explained by bombolo on Friday March 03, 2023 @09:25AM (#35009990)
Not necessarily. Just using a better optimized sort or hash algorithm can make a big difference.
Re:Why Python keeps growing, explained by kaba0 on Friday March 03, 2023 @09:19AM (#35009933)
Of course algorithmic complexity will trump anything else at big enough n values.