Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: substrings that consist of repeating characters

by Eily (Monsignor)
on Sep 29, 2020 at 13:20 UTC ( #11122330=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub v6 {
        %subs = ();
        $subs{$&}++ while $string =~ m{A{2,}|C{2,}|G{2,}|T{2,}}g;
        } # v6
    
  2. or download this
          Rate   v4   v5   v6
    v4 55470/s   --  -9% -39%
    v5 60734/s   9%   -- -34%
    v6 91365/s  65%  50%   --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11122330]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2021-10-21 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (83 votes). Check out past polls.

    Notices?