3 ms·
Basically this: https://github.com/antirez/sds https://github.com/antirez/sds
by zzzcpan 9y ago
Basically this: https://github.com/antirez/sds https://github.com/antirez/sds
- userbinator 9y agoGood to see I'm not the only one who thought of that idea, although my implementation has a different order of the fields (and IMHO better, since it allows for statically allocated strings with only a length field --- a sort of subclassing.)