commit | ce44f12c1eec516812220bb523ff3a97efe5e1a4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Jul 05 18:16:19 2008 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Jul 05 18:16:19 2008 +0200 |
tree | 01720b5133f054d316d4553bdfebe23e129d5b6a | |
parent | 91e99931b7a94dfa6dc62c384b1183b7bc70b7c7 [diff] |
[OPTIM] task_queue: assume most consecutive timers are equal When queuing a timer, it's very likely that an expiration date is equal to that of the previously queued timer, due to time rounding to the millisecond. Optimizing for this case provides a noticeable 1% performance boost.