diff --git a/.gitignore b/.gitignore index e718016..90590c5 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,6 @@ # vendor/ .idea target -large.rdb \ No newline at end of file +large.rdb +/large.aof +/large.json diff --git a/cases/listpack.csv b/cases/listpack.csv new file mode 100644 index 0000000..8478240 --- /dev/null +++ b/cases/listpack.csv @@ -0,0 +1,4 @@ +database,key,type,size,size_readable,element_count,encoding,expiration +0,l,list,124,124B,9,quicklist2, +0,z,zset,139,139B,12,listpack, +0,h,hash,150,150B,11,listpack, diff --git a/cases/set_listpack.csv b/cases/set_listpack.csv new file mode 100644 index 0000000..2b2c100 --- /dev/null +++ b/cases/set_listpack.csv @@ -0,0 +1,2 @@ +database,key,type,size,size_readable,element_count,encoding,expiration +0,s,set,67,67B,4,listpack, diff --git a/cases/set_listpack.json b/cases/set_listpack.json new file mode 100644 index 0000000..ceb56eb --- /dev/null +++ b/cases/set_listpack.json @@ -0,0 +1,3 @@ +[ +{"db":0,"key":"s","size":67,"type":"set","encoding":"listpack","members":["a","b","c","d"]} +] \ No newline at end of file diff --git a/cases/set_listpack.rdb b/cases/set_listpack.rdb new file mode 100644 index 0000000..e354afc Binary files /dev/null and b/cases/set_listpack.rdb differ