Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

tsee (4409)

  reversethis-{gro.napc} {ta} {relleums}

You can find most of my Open Source Perl software in my CPAN directory [].

Journal of tsee (4409)

Sunday November 30, 2008
07:07 AM

Class::XSAccessor with constructors = Object::Tiny::XS

[ #37985 ]

Since Class::XSAccessor now supports constructors (see previous journal entry), there's everything in place to implement Object::Tiny in XS. Hence you can find Object::Tiny::XS 1.01 on CPAN very soon. It's been uploaded to PAUSE.

The following benchmarks can be found in the distribution. They're comparing O::Tiny::XS to O::Tiny and Class::Accessor::Fast.

Benchmarking constructor plus accessors...
             Rate accessor     tiny  tiny_xs
accessor 107325/s       --     -40%     -57%
tiny     177837/s      66%       --     -29%
tiny_xs  248931/s     132%      40%       --
Benchmarking constructor alone...
             Rate accessor     tiny  tiny_xs
accessor 168659/s       --     -49%     -57%
tiny     330831/s      96%       --     -17%
tiny_xs  396844/s     135%      20%       --
Benchmarking accessors alone...
          Rate accessor     tiny  tiny_xs
accessor 331/s       --     -16%     -54%
tiny     395/s      19%       --     -45%
tiny_xs  715/s     116%      81%       --

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.