Linux development
π½πππππππππ @ sxan @midwest.social Posts 26Comments 3,679Joined 3 yr. ago


π½πππππππππ @ sxan @midwest.social
Posts
26
Comments
3,679
Joined
3 yr. ago
I worked at a place once that had a system that was all bash that would take hours to run. I rewrote it in Ruby and got the run down to about 10 minutes.
This was 2000; I don't recall anymore how much of that was the runtime and got much was just refactoring and hindsight - god knows how old that jumble of bash scripts were. A lot must have been the interpreter; even just looping is far slower in bash than probably anything else.
Not a comment on your script; just remembering that win.