quick list

This commit is contained in:
finley
2022-07-12 20:57:13 +08:00
parent ab0754e2a5
commit e6d958716d
12 changed files with 743 additions and 34 deletions

View File

@@ -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)
}