Updated Memory model (markdown)

Benoît Blanchon
2016-08-25 17:54:26 +02:00
parent 8997f76ef5
commit 509b52fecf

@@ -95,3 +95,11 @@ Memory is released in `DynamicJsonBuffer`'s destructor, so you don't have to do
| JsonVariant | 16 | | JsonVariant | 16 |
| JsonArray of N element | 12 + 24 * N | | JsonArray of N element | 12 + 24 * N |
| JsonObject of N element | 12 + 32 * N | | JsonObject of N element | 12 + 32 * N |
#### Object size on x64 (tested on Visual Studio 2015)
| Type | Size |
|-------------------------|-------------|
| JsonVariant | 16 |
| JsonArray of N element | 24 + 24 * N |
| JsonObject of N element | 24 + 32 * N |