commit | a6a6a93e5609e7aaab31af58aaada2221ef78ec4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Apr 28 22:40:08 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Apr 29 13:44:24 2007 +0200 |
tree | a210d0419430b467749ebc333277cc245e41ac88 | |
parent | 96bcfd75aad6f410d7c8c0311d76799cf1ad87a5 [diff] |
[MAJOR] changed TV_ETERNITY to ~0 instead of 0 The fact that TV_ETERNITY was 0 was very awkward because it required that comparison functions handled the special case. Now it is ~0 and all comparisons are performed on unsigned values, so that it is naturally greater than any other value. A performance gain of about 2-5% has been noticed.