|Don't ask to ask, just ask|
Re^5: Question about curious performance of if...elsif blockby BrowserUk (Pope)
|on Jan 16, 2012 at 19:46 UTC||Need Help??|
Did you try my second script on your system?
No. Because it would not run here.
ok, one more time. try embedding my subruotine in a loop reading /proc/pid/status and measure it. THAT's my point.Then it is fairly obvious that the reason for the differences you are concerned about have nothing to do with that subroutine and every thing to do with the code that is calling it. Ie. All your concentration on the subroutine is a complete red herring.
It seems fairly clear to me that you are misinterpreting the data you are reading. What timing do you see if you comment out the subroutine call entirely?
But don't bother with "ok, one more time.". Cos I almost certainly wouldn't understand it.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.