GitHub user mapleFU added a comment to the discussion: Count-Min Sketch Support
> CMS Array: The CMS data structure is stored as a 2D array (flattened into a > 1D array) of uint32_t integers. Each element in this array represents the > count for a particular combination of hash function and item. The size of the > array is determined by the width (number of columns) and depth (number of > rows) of the CMS. String Representation: In Redis, data structures like strings and bitmaps are generally treated as "string" types. However, for CMS, the structure is specifically tailored to handle frequency counts. The memory is made to be manipulated easily. Sorry but I don't know how would you like to storing the CMS Array? With "List" or self encoding int32? Is it in one key-value? Or having subfields? What would the metadata like? GitHub link: https://github.com/apache/kvrocks/discussions/2496#discussioncomment-10380519 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
