Message278471
The difference in favor of doit() is even more pronounced with this
loop (also sorry for the uninitialized variable, but that does not
make a difference for benchmarking):
=====================================
for (i = 0; i < 10000; i++) {
for (j = 0; j < 10000; j++) {
count += doit(i, j);
}
}
====================================== |
|
| Date |
User |
Action |
Args |
| 2016-10-11 11:45:08 | skrah | set | recipients:
+ skrah, rhettinger, serhiy.storchaka |
| 2016-10-11 11:45:08 | skrah | set | messageid: <[email protected]> |
| 2016-10-11 11:45:08 | skrah | link | issue28397 messages |
| 2016-10-11 11:45:08 | skrah | create | |
|