Skip to content

Remove ziplist dead code in object.c#10751

Merged
oranagra merged 2 commits intoredis:unstablefrom
enjoy-binbin:remove_ziplist_dead_code
May 22, 2022
Merged

Remove ziplist dead code in object.c#10751
oranagra merged 2 commits intoredis:unstablefrom
enjoy-binbin:remove_ziplist_dead_code

Conversation

@enjoy-binbin
Copy link
Contributor

Remove some dead code in object.c, ziplist is no longer used in 7.0

Some backgrounds:
zipmap - hash: replaced by ziplist in #285
ziplist - hash: replaced by listpack in #8887
ziplist - zset: replaced by listpack in #9366
ziplist - list: replaced by quicklist (listpack) in #2143 / #9740

Remove some dead code in object.c, ziplist is no longer used in 7.0

Some backgrounds:
zipmap - hash: replaced by ziplist in redis#285
ziplist - hash: replaced by listpack in redis#8887
ziplist - zset: replaced by listpack in redis#9366
ziplist - list: replaced by quicklist (listpack) in redis#2143 / redis#9740
@enjoy-binbin enjoy-binbin requested a review from sundb May 19, 2022 10:03
@oranagra oranagra merged commit 18cb4a7 into redis:unstable May 22, 2022
@enjoy-binbin enjoy-binbin deleted the remove_ziplist_dead_code branch May 22, 2022 11:17
enjoy-binbin added a commit to enjoy-binbin/redis that referenced this pull request Jul 31, 2023
Remove some dead code in object.c, ziplist is no longer used in 7.0

Some backgrounds:
zipmap - hash: replaced by ziplist in redis#285
ziplist - hash: replaced by listpack in redis#8887
ziplist - zset: replaced by listpack in redis#9366
ziplist - list: replaced by quicklist (listpack) in redis#2143 / redis#9740

Moved the location of ziplist.h in the server.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants