aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.c
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02[WIP] Tighten up reader node managementDavid Robillard1-2/+2
[WIP] Broken on 32-bit This makes the reader stack manipulations stricter, to make the code more regular and avoid redundant work and bad cache activity. Now, functions that push node headers and their bodies are responsible for (more or less) immediately pushing any trailing null bytes required for termination and alignment. This makes the writes to the node in the stack more local, ensures nodes are terminated as early as possible (to reduce the risk of using non-terminated strings), and avoids the need to calculate aligned stack allocations.
2023-12-02Use ZixAllocator directlyDavid Robillard1-23/+21
2023-12-02Use ZixStringView directlyDavid Robillard1-11/+11
2023-12-02Add SerdNodes for storing a cache of interned nodesDavid Robillard1-0/+506