mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 00:32:37 +01:00 
			
		
		
		
	Double speed of DynamicJsonDocument::garbageCollect()
				
					
				
			This commit is contained in:
		| @@ -1,6 +1,11 @@ | |||||||
| ArduinoJson: change log | ArduinoJson: change log | ||||||
| ======================= | ======================= | ||||||
|  |  | ||||||
|  | HEAD | ||||||
|  | ---- | ||||||
|  |  | ||||||
|  | * Double speed of `DynamicJsonDocument::garbageCollect()` | ||||||
|  |  | ||||||
| v6.21.0 (2023-03-14) | v6.21.0 (2023-03-14) | ||||||
| ------- | ------- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -127,7 +127,6 @@ class BasicJsonDocument : AllocatorOwner<TAllocator>, public JsonDocument { | |||||||
|     BasicJsonDocument tmp(*this); |     BasicJsonDocument tmp(*this); | ||||||
|     if (!tmp.capacity()) |     if (!tmp.capacity()) | ||||||
|       return false; |       return false; | ||||||
|     tmp.set(*this); |  | ||||||
|     moveAssignFrom(tmp); |     moveAssignFrom(tmp); | ||||||
|     return true; |     return true; | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user