8000 Double speed of `DynamicJsonDocument::garbageCollect()` · smartcoder00/ArduinoJson@9bb3f40 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bb3f40

Browse files
committed
Double speed of DynamicJsonDocument::garbageCollect()
1 parent 5edd435 commit 9bb3f40

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
ArduinoJson: change log
22
=======================
33

4+
HEAD
5+
----
6+
7+
* Double speed of `DynamicJsonDocument::garbageCollect()`
8+
49
v6.21.0 (2023-03-14)
510
-------
611

src/ArduinoJson/Document/BasicJsonDocument.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ class BasicJsonDocument : AllocatorOwner<TAllocator>, public JsonDocument {
127127
BasicJsonDocument tmp(*this);
128128
if (!tmp.capacity())
129129
return false;
130-
tmp.set(*this);
131130
moveAssignFrom(tmp);
132131
return true;
133132
}

0 commit comments

Comments
 (0)
0