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

Re: Re: Timestamp as a Filename Collection

by blssu (Pilgrim)
on Sep 11, 2002 at 20:08 UTC ( #197062=note: print w/replies, xml ) Need Help??

in reply to Re: Timestamp as a Filename Collection
in thread Timestamp as a Filename Collection

I am looking closely. You're using an anonymous sub, therefore you're taking a closure. Use perl -D8 if you don't believe me. (Look for the anoncode op.)

It's true that your code is compiled at compile time. I said you were taking a closure, not eval'ing a string. Anyways, the {my @time = ...} sub is also compiled at compile time. That code should be faster because it does less -- allocating a frame (pad) vs. allocating an empty frame, taking a closure and calling it.

You should be happy the simple stuff is getting faster, instead of sad that the obfu code is slower!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2021-12-06 06:28 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (31 votes). Check out past polls.