Skip to main content

write_streamed_request_trace_rows

Function write_streamed_request_trace_rows 

Source
pub fn write_streamed_request_trace_rows<F, S>(
    output_path: &Path,
    sidecar_path: &Path,
    sessions: S,
    preserve_session_ids: bool,
    tokenizer_factory: F,
    config: ExportConfig,
) -> Result<ExportStats>
Expand description

Writes request-trace and sidecar rows in global request-start order.

A session is parsed only once the merge could reach its earliest request and is dropped after its last turn, so memory follows the sessions active at one time rather than the corpus.