Professional Web Applications Themes

Too greedy, my "\d+" but not too greedy to troll and troll and troll ... - PERL Miscellaneous

Purl Gurl <purlgurlpurlgurl.net> wrote in message news:<3EF764CD.52602389purlgurl.net>... > Charlton Wilbur, The CLPM Troll, stupidly continues to troll: > > > Purl Gurl truthfully wrote: > > > > You are full of verbose crap. > > (snipped) > > > > Since I hoped for a reply, I'm going to ask again: > > "Since I hoped for a reply to my troll, I'm going to lie again:" > > > > My own theory in this matter? > > "My own lies in this matter?" > > > > expression you said "$nt = 1 if $nt =~ /regex/;" ...

  1. #1

    Default Re: Too greedy, my "\d+" but not too greedy to troll and troll and troll ...

    Purl Gurl <purlgurlpurlgurl.net> wrote in message news:<3EF764CD.52602389purlgurl.net>...
    > Charlton Wilbur, The CLPM Troll, stupidly continues to troll:
    >
    > > Purl Gurl truthfully wrote:
    >
    > > > You are full of verbose crap.
    >
    > (snipped)
    >
    >
    > > Since I hoped for a reply, I'm going to ask again:
    >
    > "Since I hoped for a reply to my troll, I'm going to lie again:"
    >
    >
    > > My own theory in this matter?
    >
    > "My own lies in this matter?"
    >
    >
    > > expression you said "$nt = 1 if $nt =~ /regex/;"
    >
    > That is not my code example. You are lying.
    >
    >
    > You are full of verbose crap.
    >
    > Jeeesshhh... what a wilbur.
    >
    > * whinnies like Mr. Ed *
    >
    >
    > Purl Gurl
    > --
    > "Then again what can you expect from a fat-assed, champagne swilling,
    > half-breed just off the Rez?"
    > - The CLPM Troll
    >
    >
    >
    > #!perl
    >
    > print "Content-type: text/plain\n\n";
    >
    > use Benchmark;
    >
    > print "Run One:\n\n";
    > &Time;
    >
    > print "\n\nRun Two:\n\n";
    > &Time;
    >
    > print "\n\nRun Three:\n\n";
    > &Time;
    >
    > sub Time
    > {
    > timethese (1000000,
    > {
    > 'Cargo_Cult' =>
    > '$input = "New Top Rankings for Inc9:09 am - StarFind";
    > $out1 = $1 if $input =~ /(\d+:\d+ [ap]m) - /i;',
    >
    > 'PurlGurl' =>
    > '$input = "New Top Rankings for Inc9:09 am - StarFind";
    > $out2 = substr ($input, rindex ($input, "c") + 1, rindex ($input, "m") - rindex ($input, "c"));',
    >
    > } );
    > }
    >
    > PRINTED RESULTS:
    > ________________
    >
    > Run One:
    >
    > Benchmark: timing 1000000 iterations of Cargo_Cult, PurlGurl...
    > Cargo_Cult: 9 wallclock secs ( 8.40 usr + 0.00 sys = 8.40 CPU) 119047.62/s
    > PurlGurl: 5 wallclock secs ( 4.12 usr + 0.00 sys = 4.12 CPU) 242718.45/s
    >
    >
    > Run Two:
    >
    > Benchmark: timing 1000000 iterations of Cargo_Cult, PurlGurl...
    > Cargo_Cult: 9 wallclock secs ( 8.52 usr + 0.00 sys = 8.52 CPU) 117370.89/s
    > PurlGurl: 4 wallclock secs ( 4.12 usr + 0.00 sys = 4.12 CPU) 242718.45/s
    >
    >
    > Run Three:
    >
    > Benchmark: timing 1000000 iterations of Cargo_Cult, PurlGurl...
    > Cargo_Cult: 7 wallclock secs ( 8.35 usr + 0.00 sys = 8.35 CPU) 119760.48/s
    > PurlGurl: 4 wallclock secs ( 4.11 usr + 0.00 sys = 4.11 CPU) 243309.00/s

    I think there was a famous philospher who once said, "Can't we all
    just get along" - Rodney King
    MF Guest

  2. Moderated Post

    Default Re: Too greedy, my "\d+" but not too greedy to troll and troll andtroll ...

    Removed by Administrator
    Purl Gurl Guest
    Moderated Post

Similar Threads

  1. [OT] our resident troll
    By Mothra in forum PERL Miscellaneous
    Replies: 3
    Last Post: September 19th, 12:10 PM
  2. Ruby license makes it unuseable ! ! [troll alert]
    By Michael Slater in forum Ruby
    Replies: 12
    Last Post: September 7th, 10:42 PM
  3. How I live, A day in the life of a troll revisited
    By GreyCloud in forum Sun Solaris
    Replies: 3
    Last Post: July 31st, 08:03 PM
  4. How I live, A day in the life of a troll
    By GreyCloud in forum Sun Solaris
    Replies: 0
    Last Post: July 21st, 10:33 PM
  5. Too greedy, my "\d+" but not too greedy to troll
    By Purl Gurl in forum PERL Miscellaneous
    Replies: 1
    Last Post: June 24th, 09:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139