code: func (p *Partition) bytes() int {
  	var b int
  	b += 24 // mu RWMutex is 24 bytes
  	b += int(unsafe.Sizeof(p.opened))
  	// Do not count SeriesFile because it belongs to the code that constructed this Partition.
  	b += int(unsafe.Sizeof(p.activeLogFile)) + p.activeLogFile.bytes()
  	b += int(unsafe.Sizeof(p.fileSet)) + p.fileSet.bytes()
  	b += int(unsafe.Sizeof(p.seq))
  	b += int(unsafe.Sizeof(p.seriesIDSet)) + p.seriesIDSet.Bytes()
  	b += int(unsafe.Sizeof(p.levels))
  	for _, level := range p.levels {
  		b += int(unsafe.Sizeof(level))
  	}
  	b += int(unsafe.Sizeof(p.levelCompacting))
  	for _, levelCompacting := range p.levelCompacting {
  		b += int(unsafe.Sizeof(levelCompacting))
  	}
  	b += 12 // once sync.Once is 12 bytes
  	b += int(unsafe.Sizeof(p.closing))
  	b += 16 // wg sync.WaitGroup is 16 bytes
  	b += int(unsafe.Sizeof(p.path)) + len(p.path)
  	b += int(unsafe.Sizeof(p.id)) + len(p.id)
  	b += int(unsafe.Sizeof(p.MaxLogFileSize))
  	b += int(unsafe.Sizeof(p.compactionInterrupt))
  	b += int(unsafe.Sizeof(p.compactionsDisabled))
  	b += int(unsafe.Sizeof(p.logger))
  	b += int(unsafe.Sizeof(p.manifestSize))
  	b += int(unsafe.Sizeof(p.version))
  	return b
  }
docs: // bytes estimates the memory footprint of this Partition, in bytes.