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: <1476186308.85.0.135300165503.issue28397@psf.upfronthosting.co.za> |
2016-10-11 11:45:08 | skrah | link | issue28397 messages |
2016-10-11 11:45:08 | skrah | create | |
|