For example in the gems we looked at here, the Ruby code implements min by doing [a, b].sort[0], where as the C extension does a < b ? a : b.
min
[a, b].sort[0]
a < b ? a : b
Eeek! I guess “there are no slow languages, only slow programmers”?
Eeek! I guess “there are no slow languages, only slow programmers”?