antirez b3624f5a16 activeExpireCycle(): better precision in max time used.
activeExpireCycle() can consume no more than a few milliseconds per
iteration. This commit improves the precision of the check for the time
elapsed in two ways:

1) We check every 16 iterations instead of the main loop instead of 256.
2) We reset iterations at the start of the function and not every time
   we switch to the next database, so the check is correctly performed
   every 16 iterations.
2012-05-14 16:04:41 +02:00
..
2012-04-13 17:52:33 -07:00
2011-04-13 10:58:21 +02:00
2011-09-15 18:25:53 +02:00
2012-04-11 11:03:30 +02:00
2012-05-01 10:52:03 +02:00
2011-02-28 14:48:49 +01:00
2012-05-09 20:45:19 +02:00
2012-04-11 12:12:30 +02:00
2012-04-02 11:56:03 +02:00
2012-03-30 21:19:51 +02:00
2012-03-30 21:19:51 +02:00
2011-03-09 15:44:21 +01:00
2012-03-23 10:22:58 +01:00
2012-04-24 11:11:55 +02:00
2012-03-09 22:07:45 +01:00
2012-01-02 15:24:50 -08:00
2011-07-06 15:22:00 +02:00
2012-04-10 16:34:33 +02:00
2012-01-03 16:13:42 -08:00
2012-04-05 10:41:28 +02:00