antirez cf49be57a5 objectComputeSize(): estimate collections sampling N elements.
For most tasks, we need the memory estimation to be O(1) by default.
This commit also implements an initial MEMORY command.
Note that objectComputeSize() takes the number of samples to check as
argument, so MEMORY should be able to get the sample size as option
to make precision VS CPU tradeoff tunable.

Related to: PR #3223.
2016-09-13 10:28:23 +02:00
..
2012-04-13 17:52:33 -07:00
2016-04-25 16:49:57 +03:00
2016-04-25 16:49:57 +03: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
2016-04-04 08:50:58 +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-08-09 16:41:40 +02:00
2016-07-18 13:50:19 +02:00
2016-09-12 13:19:05 +02:00
2016-09-12 13:19:05 +02:00
2016-07-06 15:28:18 +02:00
2016-07-27 11:34:25 +02:00
2016-07-27 11:34:25 +02:00
2016-07-27 11:34:25 +02:00
2016-06-14 14:45:28 +02:00
2015-07-27 14:37:58 +02:00
2016-01-13 00:49:28 -08:00
2016-09-07 10:33:15 +02:00
2016-09-09 10:22:57 +08:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2015-07-27 14:37:58 +02:00
2014-08-08 10:05:32 +02:00
2016-09-09 15:03:21 +02:00
2016-04-25 16:49:57 +03:00
2016-09-12 13:19:05 +02:00
2015-04-27 12:07:49 +02:00
2015-04-27 12:07:49 +02:00
2014-07-02 16:31:22 +02:00
2016-09-12 13:19:05 +02:00
2016-09-12 13:19:05 +02:00
2016-05-10 06:40:05 +02:00
2015-01-02 11:16:08 -05:00
2015-04-29 10:33:21 +02:00
2016-01-13 00:49:28 -08:00