Status: IN
`compact()` re-serializes records directly to the output file rather than calling `_write_record`, duplicating the binary serialization logic in a separate code path
Source: entries/2026/05/29/log-structured-hash-table-bitcask-_write_record.md