japhb/perl6-bench — pull request #11 by moritz (2014-10-11 12:57:52+00:00)
Title: Add string escape benchmark

Perl 6 uses Str.trans exactly like JSON::Tiny::to-string does.
The Perl 5 tr/// does not allow substitutions that lengthen the string, so that uses an (IMHO fairly idiomatic) s///g instead