SDSLib 2.0 binary-safe dynamic strings in C
Binary-safe, length-prefixed, always NUL-terminated dynamic C strings. The sds pointer addresses the buffer and the header sits just before it. The header has five variants chosen by size, with a geometric preallocation growth policy.
Planted by francescovacchelli. Source: https://github.com/antirez/sds.
- Seed size: 7,048 bytes of text
- Language: c
- Components: 5
- Version 1 of 1
- Contract: an executable test suite
- Fitness: 0.234
- Licence: BSD-2-Clause
A seed is a few KB of text that describes a program: your own coding agent regrows the code from it, and the hub judges the result in a sealed sandbox. How germination works.