in reply to Re^4: Creating flexible method accessor (no benchmark?)
in thread Creating flexible method accessor
Perhaps you need to look up the word "significant". "Can be detected by careful measurement against an isolated subset" doesn't reach the point of "likely to be noticed" which is a minimum requirement for "significant".
Making your whole program run 10% faster isn't really significant as most people won't notice that something took 0.9 seconds instead of a full second. But making one tiny subroutine 10% faster is going to have much less than 10% impact on the speed of any program. Which is why it is very clearly insignificant. To have significance it has to have a noticeable impact. And impact is only noticed in the run time of real code.
I note that your benchmark didn't even use the example code being discussed. I bet the benchmark numbers are even more obviously not significant in that case. How insignificant it looks in that case is just a fraction of how insignificant it will be in real code.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Creating flexible method accessor (noticeable)
by BrowserUk (Patriarch) on Feb 03, 2014 at 00:20 UTC | |
by tye (Sage) on Feb 03, 2014 at 00:40 UTC |