Optimize passing memcache command params.