Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

RE: Re: Does it Iactually/I run faster?

by vkonovalov (Monk)
on Jul 04, 2000 at 19:27 UTC ( #21024=note: print w/ replies, xml ) Need Help??


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.


Comment on RE: Re: Does it Iactually/I run faster?
Download Code
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!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-02-14 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (470 votes), past polls