• A
    Invert two sides of if expression in SET to avoid a lookup. · 4d9bd535
    antirez 提交于
    Because of the short circuit behavior of && inverting the two sides of
    the if expression avoids an hash table lookup if the non-EX variant of
    SET is called.
    
    Thanks to Weibin Yao (@yaoweibin on github) for spotting this.
    4d9bd535
t_string.c 10.5 KB