[MacRuby] #1116: Yet another String performance issue