MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / ZSetStructure

Struct ZSetStructure

structure/zset.go:27–29  ·  view source on GitHub ↗

** ZSet or Sorted Set structure is borrowed from Redis' implementation, the Redis implementation utilizes a SkipList and a dictionary. */ ZSetStructure is a structure for ZSet or SortedSet

Source from the content-addressed store, hash-verified

25
26// ZSetStructure is a structure for ZSet or SortedSet
27type ZSetStructure struct {
28 db *engine.DB
29}
30
31// FZSet represents a specific data structure in the database, which is key to handling sorted sets (ZSets).
32// This struct facilitates interactions with data stored in the sorted set, allowing for both complex and simple operations.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected