You shouldn't concern about speed, if you want to solve SHORTEN problems.
If you look at SHORTEN results you can see, whether it's worth learning Ruby if the target is shortening.
And: Here is the right place for that kind of questions (if you are not able to answer it yourself): viewforum.php?f=68