4 ms·
It would at least save the process-start overhead, plus loading the ruby vm and modules/gems.
by s_kilk 10y ago
It would at least save the process-start overhead, plus loading the ruby vm and modules/gems.
- mikemcquaid 10y agoExactly. For a simple string comparison Bash is far faster (although Homebrew doesn't use require any gems, just FYI).
- s_kilk 10y agoGood to know, so did the speedup come mostly from not spinning-up the Ruby VM?
- mikemcquaid 10y agoYep!