Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: A question for the enlightened.

by jkva (Chaplain)
on Feb 17, 2005 at 09:20 UTC ( [id://431865]=note: print w/replies, xml ) Need Help??


in reply to Re: A question for the enlightened.
in thread Using aliases in for loops or not?

Thanks for the reply.
Uh, "YMMV"? ;)

I was under the impression that I now used a variable ($record) while it was not needed. Which is memory allocation while not needed, which is inefficient. Or am I wrong on this point? I *do* agree that it is more readable though.

Regards,

-- Detonite

Replies are listed 'Best First'.
Re^3: A question for the enlightened.
by DrHyde (Prior) on Feb 17, 2005 at 10:14 UTC
    Before saying "it's inefficient", did you benchmark it?
      I am unfamiliar with script benchmarking, thus no, but thanks for the heads-up. But it feels to me like renting two trucks to haul stuff, while you only need one. The speed difference will probably not be visible, but I myself consider it sloppy.
      It's like declaring an Int32 while you need is Int16.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found