Project

General

Profile

Actions

Feature #5796

open

formatter: send output to ostream

Added by Sage Weil over 10 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
common
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Instead of accumulating the result in memory and doing a final f->flush(outputbuffer), set the output/sink (ostream!) at the beginning, and stream the output to that as we go. A final flush() (no args!) would ensure it is all written. This allows us to do very large dumps without eating all the ram

Actions #1

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF