Re-use AOF buffer when it is small enough

This commit is contained in:
Pieter Noordhuis
2011-08-18 12:44:30 +02:00
committed by antirez
parent a57225c2cf
commit f990782f4d
3 changed files with 17 additions and 2 deletions

View File

@ -76,6 +76,7 @@ sds sdscatprintf(sds s, const char *fmt, ...);
sds sdstrim(sds s, const char *cset);
sds sdsrange(sds s, int start, int end);
void sdsupdatelen(sds s);
void sdsclear(sds s);
int sdscmp(sds s1, sds s2);
sds *sdssplitlen(char *s, int len, char *sep, int seplen, int *count);
void sdsfreesplitres(sds *tokens, int count);