Replace strings by views when you canUsing a single string buffer for integers drastically reduces memory consumption compared to multiple std::string instances.