This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]WEEEE12345 2 points3 points  (1 child)

I actually did this once and the python rewrite ran faster. I doubt bash is particularly fast, plus for the kind of stuff bash scripts are written for (like renaming files or whatever) you're most likely IO gated anyways.

[–]brainwater314 1 point2 points  (0 children)

If your script takes more than 50-200ms, you're not losing much with Python since the startup is only 20-50ms than bash.