Skip to content

Commit

Permalink
修正 zslIsInRange 函数的描述
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzworks committed Sep 15, 2014
1 parent 937384d commit 76d5ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/t_zset.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ static int zslValueLteMax(double value, zrangespec *spec) {

/* Returns if there is a part of the zset is in range.
*
* 如果 zsl 中有至少一个节点的分值符合 range 中描述的范围
* 如果给定的分值范围包含在跳跃表的分值范围之内
* 那么返回 1 ,否则返回 0 。
*
* T = O(1)
Expand Down

0 comments on commit 76d5ccb

Please sign in to comment.