Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Difference between tr// and s///?

by Sol-Invictus (Scribe)
on Feb 06, 2004 at 16:29 UTC ( #327126=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Difference between tr// and s///?
in thread Difference between tr/// and s///?

Rate matching Indexing matching 695587/s -- -41% Indexing 1187633/s 71% --
it reads right to left, rather than horzontally and vertically:
matching is 41% slower than indexing
Indexing is 71% faster than matching

Sol-Invictus

You spend twenty years learning the spell that makes nude virgins appear in your bedroom, and then you're so poisoned by quicksilver fumes and half-blind from reading old grimoires that you can't remember what happens next.


Comment on Re: Re: Re: Difference between tr// and s///?
Download Code
Re: Re: Re: Re: Difference between tr// and s///?
by HyperZonk (Friar) on Feb 06, 2004 at 16:32 UTC
    Sol-Invictus:

    I was speaking to the tr vs. s, not the s vs. index.


    -HZ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-07-05 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls