MCPcopy Create free account
hub / github.com/p-ranav/tabulate / print_to_string

Function print_to_string

samples/benchmark.cpp:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61std::string print_to_string(Table &table) {
62 std::ostringstream out;
63 table.print(out);
64 return out.str();
65}
66
67// ============================================================================
68// 1. Scaling: how does print() cost grow with table size (rows x columns),

Callers 4

benchmark_scalingFunction · 0.85
benchmark_feature_costsFunction · 0.85

Calls 2

printMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected