Store static string in a dedicated pool

This commit is contained in:
Benoit Blanchon
2025-02-27 13:42:04 +01:00
parent 907bb43481
commit 08b2400592
25 changed files with 133 additions and 63 deletions
+1
View File
@@ -56,6 +56,7 @@ TEST_CASE("JsonArray::add(T)") {
REQUIRE(array[0].is<int>() == false);
REQUIRE(spy.log() == AllocatorLog{
Allocate(sizeofPool()),
Allocate(sizeofStaticStringPool()),
});
}