3 ms·
I'm partial to https://github.com/antirez/sds https://github.com/antirez/sds these days
by swlkr 6y ago
I'm partial to https://github.com/antirez/sds https://github.com/antirez/sds these days
- mariusor 6y agoThe only problem I have with antirez's lib is that he didn't make it into a single header library.
- spacechild1 6y agoIs it so hard to add a single source file to your build system? If yes, then you can do #include “sds.c“ in some random source file. In fact, that's what so-called header-only libraries in C implicitly do. shudder
- mariusor 6y agoA C file implies a compilation unit. For the projects I write I like to have a single compilation unit per binary (what's called a unity build). In the case of C, this doesn't bring much speed to the table, but it allows for a simpler build toolchain none the less.