Double speed of DynamicJsonDocument::garbageCollect()

This commit is contained in:
Benoit Blanchon committed 2023-03-20 12:32:52 +01:00
1 parent 5edd435fe9
commit 9bb3f4051d
2 files changed
+5 -1

No files matched your search

+5
View File
@@ -1,6 +1,11 @@
ArduinoJson: change log
=======================
HEAD
----
* Double speed of `DynamicJsonDocument::garbageCollect()`
v6.21.0 (2023-03-14)
-------
@@ -127,7 +127,6 @@ class BasicJsonDocument : AllocatorOwner<TAllocator>, public JsonDocument {
BasicJsonDocument tmp(*this);
if (!tmp.capacity())
return false;
tmp.set(*this);
moveAssignFrom(tmp);
return true;
}