Hacker News new | ask | show | jobs
by s_kilk 3562 days ago
It would at least save the process-start overhead, plus loading the ruby vm and modules/gems.
1 comments

Exactly. For a simple string comparison Bash is far faster (although Homebrew doesn't use require any gems, just FYI).
Good to know, so did the speedup come mostly from not spinning-up the Ruby VM?
Yep!