This commit is contained in:
2026-06-09 08:16:16 +03:00
parent 964fe4b4a8
commit 7007b1b6fd
18 changed files with 1334 additions and 1026 deletions

View File

@@ -227,6 +227,10 @@ func (s *FreeList) Serialize() ([]byte, error) {
return w.Bytes(), nil
}
func (s *FreeList) Cached() []uint32 {
return s.free
}
func (s *FreeList) Merge() (err error) {
var (
off = int64(s.basePagesCount * s.pageSize)