Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Align nodes on the reader stack | David Robillard | 1 | -11/+8 | |
2023-12-02 | Use a simple type-safe stack in writer | David Robillard | 1 | -6/+0 | |
2023-12-02 | Zero node padding before passing to reader sinks | David Robillard | 1 | -0/+1 | |
2023-12-02 | Simplify stack management by popping in bulk at higher levels | David Robillard | 1 | -23/+11 | |
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items. This is slightly more efficient (due to avoiding many pop calls), but also more resilient since "leaks" at deeper levels of recursion get nuked by some caller regardless of what was pushed. This should help prevent future regressions like f6437f606 (Fix memory consumption when reading documents). | |||||
2023-12-02 | Use a fixed-size reader stack | David Robillard | 1 | -4/+8 | |
2023-12-02 | Use char* for strings in public API | David Robillard | 1 | -12/+9 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2023-04-05 | Use distinct include guards for internal headers | David Robillard | 1 | -4/+4 | |
2022-10-23 | Use uppercase integer literal suffixes | David Robillard | 1 | -1/+1 | |
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2021-05-31 | Fix some conversion warnings | David Robillard | 1 | -1/+1 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 1 | -1/+1 | |
2020-12-31 | Format all code with clang-format | David Robillard | 1 | -42/+44 | |
2020-12-15 | Clean up includes | David Robillard | 1 | -2/+2 | |
2020-08-14 | Make serd_stack_push() return a void pointer | David Robillard | 1 | -1/+1 | |
This avoids some unnecessary type punning. | |||||
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -0/+117 | |