Bit-Set
view release on metacpan or search on metacpan
lib/Bit/Set/OO.pm view on Meta::CPAN
creation of efficient OO interfaces without the overhead of traditional Perl OO
systems by "sealing" the methods at compile time. In order for these methods to shine, the right combination of ingredients is needed:
=over 4
=item 1 The overhead of the dynamic lookup should be significant compared to the work done in the method itself.
This is the case for small methods that do little work, such as getters and setters. However, this is also the case when the underlying C function is very fast, as is the case with the Bit library.
=item 2 The XS interface should materially decrease the overhead of the method call itself.
This is really a corollary of point 1 above, but it is worth stating explicitly.
=item 3 The methods should be used to process large numbers of objects in tight loops.
This is where the overhead of dynamic method lookup really adds up, and where the benefits of XS and sealing the methods at compile time become apparent.
=back
=head1 SEE ALSO
( run in 0.632 second using v1.01-cache-2.11-cpan-e1769b4cff6 )