ByteStorage / FlyDB

The high-performance kv storage engine based on bitcask paper made in golang
Apache License 2.0
1.22k stars 100 forks source link

Feat/zset z add(#139) #225

Closed saeid-a closed 1 year ago

saeid-a commented 1 year ago

A few functions, such as ZAdds and ZRems, have not been implemented due to difficulties in their implementation. This is because their input parameters must either be a Slice or a Struct to accommodate multiple input parameters. It should be noted that range-related functions such as ZRange and ZRevRange are based on rank(as per current implementation), and if there are any discrepancies, please inform me. Additionally, there is a point of clarification regarding the range of the ZCount function. Is it based on rank or score?

closes #139 .

qishenonly commented 1 year ago

Thank you very much, and please let me take a moment to read your code. In addition,ZCount counts by score range, not by ranking.

qishenonly commented 1 year ago

thanks