0
下面的memcached對象的大小在到達代碼末尾時會發生變化嗎?Memcached會在更新時減少對象的密鑰大小嗎?
<?php
$m = new Memcached();
$m->addServer('localhost', 11211);
$m->set('array', array(11, 12, 13, 14, 15, 16, 17, 18, 19, 20)); //Size in memory is X
$m->set('array', array(11, 12)); //Size in memory is ?
?>
銳利和很好的答案, 謝謝! – JLuiz