Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Not returning scalars(SV) to optimize and save memory?

by ikegami (Patriarch)
on Dec 06, 2007 at 20:30 UTC ( [id://655495]=note: print w/replies, xml ) Need Help??


in reply to Re: Not returning scalars(SV) to optimize and save memory?
in thread Not returning scalars(SV) to optimize and save memory?

I disagree with your conclusion. FALSE and 1==0 produce exactly the same code, yet in one place the results say one is 119% times the speed of the other, and in another place the results say one is 715% times the speed of the other.

A better conclusion would be that the benchmark is useless. The reason might be that external factors (such as cache misses, context swapping) have a stronger influences on that the speed of those operations than the choice of operation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-20 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found