Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Teach him a lesson with facts

by derby (Abbot)
on Feb 23, 2003 at 00:58 UTC ( #237826=note: print w/replies, xml ) Need Help??


in reply to Re: Teach him a lesson with facts
in thread Teach him a lesson with facts

that's pretty close to the code I did but my results were way different than yours - what version of perl are you using? On my eMac (G4 800Mhz 512M), the results are more like 4:2:1 and even those numbers are bogus. Utilizing the unix time function for better granularity, I get 4.132:2.474:0.643. And that proves ... absolutely nothing. Except maybe your perl installation is seriously broken or you're cooking the numbers. I've spent way too much time on this troll. I concede that C is faster than perl - Hoo--Feckin--Ray. I concede that Java, in this particular case is faster than perl - another Hoo-Feckin-Ray. I think your missing the well intentioned (and not so well intentioned) messages that a your conclusion is way to broad given your supporting arguments.

I feel way too dirty now (and I think someone called me a coward earlier). Good night.

-derby

Replies are listed 'Best First'.
Re: Re: Re: Teach him a lesson with facts
by Anonymous Monk on Feb 23, 2003 at 01:13 UTC
    ;-) I didn't cook the numbers, and I tested again, and got the same number. My perl is 5.8.0, and java is 1.4.0_01.

    But I am using my old PC/win32, which has only 32M RAM. My guess is that Perl requires way more memory, otherwise there would be lots of pageout.

    Anyway, even on your 512M, Perl is still slowER, but not that ugly ;-).

    My apology, Buddy, I take back my word that you are coward. Now I know you are a man serious with tech, not a fundamentalist.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2018-10-23 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (125 votes). Check out past polls.

    Notices?