Simple Condition Change - expireIfNeeded #762

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

charsyam commented Nov 13, 2012

redis doesn't need to call getExpire before check server.loading.
so moving call getExpire after server.loading check statement.

charsyam and others added some commits Nov 13, 2012

@charsyam charsyam Simple Condition Change - expireIfNeeded
redis doesn't need to call getExpire before check server.loading.
so moving call getExpire after server.loading check statement.
aa9b065
@openbaas openbaas change getExpire position fa9481c
Owner

charsyam commented on fa9481c Nov 14, 2012

getExpire calls dictFind twice, so it is expensive if it just returns, so this will give better performance.

charsyam closed this Mar 30, 2013

charsyam deleted the charsyam:patch-1 branch Mar 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment