There is a significant benefit to the lighter weight module. Here is the benchmark.

use strict; use warnings; use Benchmark qw(cmpthese) ; use Func; use Quantum::Superpositions; my @a = (1..50); my @b = (35 .. 100); cmpthese(-20, { 'Func- Any > Any' => sub { my $test = Func::any(@a) > Func::any(@b); }, 'Q::S- Any > Any' => sub { my $test = Quantum::Superpositions::any(@a) > Quantum::Sup +erpositions::any(@b); }, }); __DATA__ Rate Q::S Func Q::S 10.7/s -- -84% Func 67.5/s 534% --

You can say thats not conclusive because i didn't test all the features etc. You would be 100% correct. That doesn't change the fact that for smaller everyday things, its lighter and faster. Now if i'm not suppose to try to make things faster/easer then why do we have so many ::simple modules? I realy just dislike the don't reinvent the wheel attitude because it implies that because its already been done once no one else can do it different and there is no need for an alternative. Perhaps there is no use for this module and that is fine. I am however not reinventing Quantum::Superposistions, this module will not do everything thing that one does, and it does not do everything this one does.


___________
Eric Hodges

In reply to Re: Re: Re: Re: List module providing any,all and none by eric256
in thread List module providing any,all and none by eric256

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.