Commit Graph

18 Commits

Author SHA1 Message Date
8e3286aac8 Store static strings in a dedicated pool
Because a slot id is smaller than a pointer, this change will ultimately allow reducing the slot size.
2025-06-26 20:48:13 +02:00
411424b74e CI: upgrade clang-tidy 2025-05-20 20:55:01 +02:00
01e49b33b7 Update copyright year 2025-02-24 15:18:26 +01:00
45611924f3 Tests: add user-defined literal ""_s for std::string 2024-06-07 09:35:45 +02:00
aeb30ef307 Support ElementProxy and MemberProxy in JsonDocument's constructor 2024-05-15 13:37:33 +02:00
1c5e5db071 Test JsonDocument constructor with a JsonVariantConst argument
See #2091
2024-05-15 09:30:22 +02:00
0e8a236583 Update copyright year 2024-01-03 08:47:06 +01:00
c98ba999af Add more tests of JsonDocument constructor 2023-08-10 14:30:50 +02:00
9a11d98117 Tests: make allocator assertions more readable 2023-07-26 09:28:21 +02:00
1a14499612 Preallocate pool list 2023-07-21 17:57:13 +02:00
0f319e7ca4 Remove capacity from JsonDocument's constructor 2023-07-18 09:08:55 +02:00
42b2840009 Create more memory pools as needed (resolves #1074) 2023-07-18 09:08:55 +02:00
c4e5051a7a Store index of slot in the pool instead of a pointer or a distance 2023-07-17 11:20:46 +02:00
0f511b873d VariantPool: store VariantSlots instead of chars 2023-07-12 15:03:56 +02:00
d8f3058efa Store the strings in the heap 2023-04-17 10:42:08 +02:00
c4b879645a Remove JsonDocument::capacity() 2023-04-03 09:51:43 +02:00
0643c2e708 Test: gather JsonDocument constructor and assignment tests 2023-04-03 09:51:09 +02:00
bcf1339e89 Test: split JsonDocument.cpp into multiple files 2023-04-03 09:51:09 +02:00