mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-08 10:10:30 +08:00
quick list
This commit is contained in:
@@ -40,7 +40,7 @@ func dumpRDB(dec *core.Decoder, mdb *MultiDB) error {
|
||||
})
|
||||
case rdb.ListType:
|
||||
listObj := o.(*rdb.ListObject)
|
||||
list := &List.LinkedList{}
|
||||
list := List.NewQuickList()
|
||||
for _, v := range listObj.Values {
|
||||
list.Add(v)
|
||||
}
|
||||
|
Reference in New Issue
Block a user