Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: P2P Homework

by MZSanford (Curate)
on Dec 10, 2002 at 15:17 UTC ( #218800=note: print w/replies, xml ) Need Help??

in reply to P2P Homework

Just a small thing to think about. both logrequest and debuglog call time() and localtime() 6 times. It seems that logrequest() could be called quite a bit, so it may be a worth-while optimization to use @date = localtime(time), and then reformat from there...

You mentioned this was an assignment, so i assume you went for readability ... so that may explain.

Just my €0.02
from the frivolous to the serious

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2016-10-25 07:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.