Y
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
mikemcquaid
3562 days ago
Exactly. For a simple string comparison Bash is far faster (although Homebrew doesn't use require any gems, just FYI).
link
s_kilk
3562 days ago
Good to know, so did the speedup come mostly from not spinning-up the Ruby VM?
link
mikemcquaid
3562 days ago
Yep!
link