Subject: | custom op implementation |
Date: | Fri, 7 Mar 2014 17:16:38 +0000 |
To: | bug-Sereal-Encoder [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
Attached patch implements custom op optimisation for Sereal-Encoder. Same
deal as for Sereal-Decoder. Should maintain Perl version portability,
but not actually tested. Patch lacks tests for the new exportable sub.
This one is considerably simpler than Sereal-Decoder, because there's
only one affected sub.
Rate method function op
method 2.33738e+06+-59/s -- -12.3% -21.4%
function 2.66585e+06+-7.4/s 14.1% -- -10.4%
op 2.97563e+06+-9.2/s 27.3% 11.6% --
-zefram
Message body is not shown because sender requested not to inline it.