Message288462
Wouldn't be better to update the number of repeats before the loop rather than checking at every iteration?
if (deque->maxlen >= 0 && n * size > deque->maxlen)
n = (deque->maxlen + size - 1) / size; |
|
Date |
User |
Action |
Args |
2017-02-23 16:56:24 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, louielu |
2017-02-23 16:56:24 | serhiy.storchaka | set | messageid: <1487868984.78.0.712369568166.issue29634@psf.upfronthosting.co.za> |
2017-02-23 16:56:24 | serhiy.storchaka | link | issue29634 messages |
2017-02-23 16:56:24 | serhiy.storchaka | create | |
|