4 ms·
A struct of string length and then a C-string is a cumbersome solution (but we are talking about C, everything is cumbersome) but it should work for all use-cas
by kaba0 5y ago
A struct of string length and then a C-string is a cumbersome solution (but we are talking about C, everything is cumbersome) but it should work for all use-cases.
- pjmlp 5y agoFor example the SDS library used by Redis.