diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2018-02-27 04:04:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 04:04:32 -0800 |
commit | d8830200b48b7f0b050e56f0c4e570311bcf7e3e (patch) | |
tree | fcac8c4349e5bd25676f97bfe8f1b21f0fc95a8e /src/sds.h | |
parent | 813960dbdd86b88b509b2946dbaa023e0ae8b1b9 (diff) | |
parent | f86df924b01db43eb68f5c4b4cac4c44c1507390 (diff) | |
download | redis-d8830200b48b7f0b050e56f0c4e570311bcf7e3e.tar.gz |
Merge pull request #3828 from oranagra/sdsnewlen_pr
add SDS_NOINIT option to sdsnewlen to avoid unnecessary memsets.
Diffstat (limited to 'src/sds.h')
-rw-r--r-- | src/sds.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ #define __SDS_H #define SDS_MAX_PREALLOC (1024*1024) +const char *SDS_NOINIT; #include <sys/types.h> #include <stdarg.h> |