aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_overflow.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-04-10 18:38:56 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commitb839af39ad87fbf0fe30fd500b596a5593c13a69 (patch)
tree2cc2bd60bd1e28cd966f694a3329cdbd8c80b023 /test/test_overflow.c
parentc8594c69b612005c7507ad00f7274ca7791197d7 (diff)
downloadserd-b839af39ad87fbf0fe30fd500b596a5593c13a69.tar.gz
serd-b839af39ad87fbf0fe30fd500b596a5593c13a69.tar.bz2
serd-b839af39ad87fbf0fe30fd500b596a5593c13a69.zip
Reuse the same rdf:type node for all "a" abbreviations
This reduces the stack space requirements for every type statement, at the cost of adding a bit of constant bloat for the node in documents that do not contain it.
Diffstat (limited to 'test/test_overflow.c')
-rw-r--r--test/test_overflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_overflow.c b/test/test_overflow.c
index 62a77022..edabd4eb 100644
--- a/test/test_overflow.c
+++ b/test/test_overflow.c
@@ -8,7 +8,7 @@
#include <assert.h>
#include <stdio.h>
-static const size_t min_stack_size = 4U * sizeof(size_t) + 238U;
+static const size_t min_stack_size = 4U * sizeof(size_t) + 320U;
static const size_t max_stack_size = 2048U;
static SerdStatus