Simple Condition Change - expireIfNeeded #762

Closed
wants to merge 2 commits into
from

Projects

None yet

2 participants

Contributor

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

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

@charsyam charsyam closed this Mar 30, 2013
@charsyam 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