http://www.perlmonks.org?node_id=327126


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.

Replies are listed 'Best First'.
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