3 ms·
Well, it's sh and perl wrappers around C code, but the important point is that those wrappers don't FFI into the C code, they shell out to it. So, yes, a hypot
by llimllib 18y ago
Well, it's sh and perl wrappers around C code, but the important point is that those wrappers don't FFI into the C code, they shell out to it.
So, yes, a hypothetical reimplentation of git in ruby as a C FFI interface would probably be faster than ruby reading the .git files itself; however exactly as demostrated in the blog entry shelling out to perl/sh code shelling out to C is much slower than the ruby program reading the .git files itself.