Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf987e3b

Browse files
committed
added savings to todo comment
1 parent06441a1 commitf987e3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/thing/Config.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ int ConfigJsonSerializer::content_length() const {
3333

3434
voidConfigJsonSerializer::SerializeTo(Stream* output) {
3535
// TODO: We "should" be able to have the root_ print directly to the stream
36-
// however it currently closes the connection half way through.
36+
// however it currently closes the connection half way through. Fixing this
37+
// would save ~250B of memory during serialization.
3738
String buffer;
3839
root_->printTo(buffer);
3940
output->print(buffer);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp