-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Closed
Description
hi antirez:
you know, many case use zipmap data structure shorten the memory usage, i saw configuration like "hash_max_zipmap_entries = 1000" many times.
but zmlen only use one bytes, so if zipmap members are bigger than or same as ZIPMAP_BIGLEN, zimmapLen function will loop zipmap total.
yeah, each hashTypeSet will call this function, this will comsume cpu and memory so much and seriouly.
i think two bytes(254 * 254) is enough. if needs, i can pull it.
Reactions are currently unavailable