antirez
f2dbc02f65
Modules: implement zig-zag scanning in autoMemoryFreed().
...
Most of the time to check the last element is the way to go, however
there are patterns where the contrary is the best choice. Zig-zag
scanning implemented in this commmit always checks the obvious element
first (the last added -- think at a loop where the last element
allocated gets freed again and again), and continues checking one
element in the head and one in the tail.
Thanks to @dvisrky that fixed the original implementation of the
function and proposed zig zag scanning.
2016-06-23 09:09:51 +02:00
..
2016-06-22 15:24:51 +02:00
2012-04-13 17:52:33 -07:00
2016-04-25 16:49:57 +03:00
2012-11-08 18:31:32 +01:00
2016-04-25 16:49:57 +03:00
2013-06-28 16:39:49 +02:00
2014-06-26 18:48:40 +02:00
2016-06-07 16:46:00 -04:00
2016-04-04 14:13:46 +02:00
2016-04-04 08:50:58 +02:00
2015-06-11 14:34:38 +02:00
2016-04-04 08:50:58 +02:00
2016-06-03 18:14:04 +02:00
2012-11-08 18:31:32 +01:00
2015-10-01 13:02:25 +02:00
2015-10-01 13:02:26 +02:00
2015-10-01 13:02:25 +02:00
2016-06-16 12:54:33 +02:00
2015-07-27 14:37:58 +02:00
2016-06-16 15:53:57 +02:00
2016-01-29 09:06:37 +01:00
2016-06-17 14:48:41 +02:00
2015-02-10 09:29:14 +01:00
2015-07-26 15:17:18 +02:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2016-06-14 15:33:59 +02:00
2016-05-04 12:45:55 +02:00
2016-04-25 16:48:25 +03:00
2015-10-01 13:00:19 +02:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2014-12-05 12:41:59 +11:00
2016-05-23 13:58:50 +03:00
2015-07-26 15:17:18 +02:00
2016-06-14 14:45:28 +02:00
2015-07-27 14:37:58 +02:00
2015-02-11 10:52:28 +01:00
2015-02-11 10:52:28 +01:00
2015-07-27 14:37:58 +02:00
2015-02-11 10:52:27 +01:00
2016-01-13 00:49:28 -08:00
2015-01-02 11:16:10 -05:00
2015-01-02 11:16:10 -05:00
2014-06-26 18:48:40 +02:00
2015-01-02 11:16:10 -05:00
2016-06-14 13:46:42 +00:00
2015-10-30 12:15:07 +01:00
2015-12-16 17:41:22 +01:00
2013-02-24 18:17:46 +01:00
2016-06-23 09:09:51 +02:00
2015-07-27 14:37:58 +02:00
2016-05-23 11:42:21 +03:00
2015-07-27 14:37:58 +02:00
2016-06-15 15:53:19 +02:00
2014-06-26 18:48:40 +02:00
2012-11-08 18:31:32 +01:00
2015-07-27 14:37:58 +02:00
2015-02-17 11:33:08 -05:00
2016-05-16 20:12:11 +03:00
2014-08-08 10:05:32 +02:00
2012-11-08 18:31:32 +01:00
2016-06-05 16:48:45 +02:00
2016-06-03 18:14:04 +02:00
2015-07-27 14:37:58 +02:00
2012-11-08 18:31:32 +01:00
2016-06-05 16:48:45 +02:00
2016-06-16 17:23:31 +02:00
2016-05-05 08:56:28 +02:00
2015-07-26 15:29:53 +02:00
2016-06-07 13:31:33 +03:00
2014-06-26 18:48:40 +02:00
2015-12-03 10:38:56 +01:00
2016-04-25 16:49:57 +03:00
2016-06-03 18:14:04 +02:00
2016-05-08 18:04:41 +02:00
2016-05-09 12:05:33 +03:00
2015-11-17 15:43:23 +01:00
2015-07-25 17:25:44 +02:00
2016-06-16 19:27:24 +02:00
2016-06-14 15:33:59 +02:00
2016-06-14 15:33:59 +02:00
2013-02-27 11:50:35 +01:00
2015-04-27 12:07:49 +02:00
2015-04-27 12:07:49 +02:00
2015-07-26 23:17:55 +02:00
2015-07-26 15:20:52 +02:00
2015-01-09 11:23:22 +01:00
2015-10-01 13:02:25 +02:00
2015-07-26 15:17:18 +02:00
2014-07-02 16:31:22 +02:00
2015-08-06 18:12:20 +02:00
2015-11-04 17:16:34 +01:00
2016-06-10 10:15:37 +02:00
2016-05-09 12:05:33 +03:00
2016-06-15 12:48:58 +02:00
2016-05-18 07:50:53 -07:00
2012-11-08 18:31:32 +01:00
2016-05-10 06:40:05 +02:00
2015-11-04 17:16:34 +01:00
2011-07-06 15:22:00 +02:00
2015-09-29 17:30:24 +02:00
2015-01-02 11:16:08 -05:00
2015-04-29 10:33:21 +02:00
2014-12-23 09:31:03 -05:00
2014-12-23 09:31:03 -05:00
2016-01-13 00:49:28 -08:00
2014-12-17 17:11:20 +01:00