]> git.saurik.com Git - redis.git/commitdiff
sds.c new function sdsRemoveFreeSpace().
authorantirez <antirez@gmail.com>
Wed, 14 Mar 2012 09:13:23 +0000 (10:13 +0100)
committerantirez <antirez@gmail.com>
Wed, 14 Mar 2012 14:36:20 +0000 (15:36 +0100)
The new function is used in order to resize the string allocation so
that only the minimal allocation possible is used, removing all the free
space at the end of the string normally used to improve efficiency of
concatenation operations.


No differences found