antirez/redis — pull request #991 by ltnwgl (2013-03-09 07:33:59+00:00)
Title: Unstable

Simplify and optimize function setKey()
1. The function setKey() call dictFind() 3 times before actually write db->dict !!
2. No need to call expireIfNeeded(), if the key is in db->expires, its value will be overwrite and it will be removed from db->expires eventually.