DEFAULT_LOG_SEGMENT_OPS

const val DEFAULT_LOG_SEGMENT_OPS: Int = 256

Default operations per persisted log segment — the ceiling on how many bytes one WarpLogRecordExporter.export rewrites.

At the ~491 bytes/record measured against a real device's accumulated store, a segment is ~123 KB: small enough that a per-record rewrite is cheap on a phone's flash, large enough that the default 10,000-record buffer needs only ~40 keys, which recovery reads once at startup. It is a pure tuning knob — correctness does not depend on it, and two replicas need not agree on it.