http://qs321.pair.com?node_id=21024


in reply to Re: Does it Iactually/I run faster?
in thread Does it Iactually/I run faster?

This can't be true, because:
d:\>perl -MO=Deparse -e "do {s/\s+/\t/; s/elementary/my dear Watson/g; +} for @array;" foreach $_ (@array) { s/\s+/\t/; s/elementary/my dear Watson/g;; } -e syntax OK

You machine probably was overloaded with some extra tasks second time. And I beleive multiline version compiled into the same code internally.

Replies are listed 'Best First'.
RE: RE: Re: Does it Iactually/I run faster?
by maverick (Curate) on Jul 04, 2000 at 21:03 UTC
    Sweet! writing obfusicated code just got a lot harder.
    Maverick goes pouring through the docs on B

    /\/\averick

RE: RE: Re: Does it Iactually/I run faster?
by eduardo (Curate) on Jul 04, 2000 at 20:24 UTC
    holy crap! that is the coolest thing i have seen in forever, I had NO idea you could do that! -MO=Deparse... wow, I am angered that i can only ++ this once, that is one of the most useful things I have seen in forever! Thank you!