> But the reason why I'm asking is that, e.g., your
> solution finishes the
> benchmark with 107323 chars/second when run with ruby18.
> With ruby19 though, it's astounishing 1703 chars/second.

Uh-oh.  Someone should write to ruby-core?

Paolo