We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06441a1 commit f987e3bCopy full SHA for f987e3b
src/thing/Config.cpp
@@ -33,7 +33,8 @@ int ConfigJsonSerializer::content_length() const {
33
34
void ConfigJsonSerializer::SerializeTo(Stream* output) {
35
// TODO: We "should" be able to have the root_ print directly to the stream
36
- // however it currently closes the connection half way through.
+ // however it currently closes the connection half way through. Fixing this
37
+ // would save ~250B of memory during serialization.
38
String buffer;
39
root_->printTo(buffer);
40
output->print(buffer);
0 commit comments