sds.c new function sdsRemoveFreeSpace().
sds.c new function sdsRemoveFreeSpace().

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.

maodeyi/redis_lua,YongMan/redis,AplayER/redis,ipmobiletech/redis,himoca/redis,pmem/redis,ituncle/redis,july2993/redis,wprice/redis,huangz1990/experiment-redis,xujunhai1991/redis,ttuna/msot-redis,wenxueliu/redis_comment,valdsJohn/redis,linfangrong/redis,yuzhangjob/redis-3.0-annotated-unstable,dongqifan2/redis-3.0-annotated,atreeyang/redis,ctripcorp/redis,ramonsnir/redis,ipmobiletech/redis,Aliceljm1/redis,csuhawk/redis,yybirdcf/learn-redis,RepmujNetsik/redis,mengyou0304/redis,MOON-CLJ/redis,tellapart/redis,charsyam/redis,gilala/bjredis,cnbin/redis,wbailey5/redis,jasonkying/redis,yuzhangjob/redis-3.0-annotated-unstable,wangyikai/redis,aluzzardi/redis,ytjiang/redis,CodeJuan/redis,saisai/redis,soloestoy/redis,gilala/bjredis,Aliceljm1/redis,antirez/redis,darksideofthemoo/redis-histogram,charsyam/redis,magastzheng/redis-3.0-annotated,colstrom/redis,adamweixuan/redis-3.0-annotated,ituncle/redis,magastzheng/redis-3.0-annotated,wuyu201321060203/redis-3.0-annotated,Cisphyx/redis-websockets,takeshineshiro/redis,ErikDubbelboer/redis,raphaelfruneaux/redis,huangz1990/redis-3.0-annotated,onlymellb/redis-3.0-annotated,july2993/redis,huangz1990/experiment-redis,Wangyao14cyy/redis,programmecat/redis,sunheehnus/redis,riyan8250/redis,dreamquster/redis,ksarch-saas/redis,moonbingbing/redis-3.0-annotated,YuraLukashik/redis,tjschuck/redis,wuxiaowei907/annotated_redis_source,timothyohare/3rdPartySrc-redis,ramonsnir/redis,MSOpenTech/redis,idning/redis,itamarhaber/redis,viongpanzi/annotated_redis_source,vincent-vivian-liu/redis,4396/redis,StevenTsai/redis,clamoriniere1A/redis,jacklee0810/annotated_redis_source,zhcy/redis,mcanthony/redis,zguangyu/redis,ipmobiletech/redis,gechong/redis-3.0-annotated,spearhead-ea/redis,SyntaxStacks/redis,narma/redis,csuhawk/redis,izhoujie/redis,zhoudayang/redis,StevenTsai/redis,h0x91b/redis,gilala/hredis,ytjiang/redis,mengyou0304/redis,aim-for-better/redis,shreesundara/redis,gilala/redis,dreamquster/redis,jermnelson/redis,shshlzh/redis-3.0-annotated,riyan8250/redis,qiyang0221/redis,Aliceljm1/redis-3.0-annotated,Instagram/redis,Aliceljm1/redis,itugs/redis,huangz1990/annotated_redis_source,qiyang0221/redis,raphaelfruneaux/redis,alenslan/redis,supasate/redis,allengaller/redis,mengzhejin/RedisStudy,zguangyu/redis,flashbuckets/redis,MasahikoSawada/redis,GrimDerp/redis,kaushik94/redis,ofirluzon/redis,saisai/redis,hedisdb/hedis,neomantra/redis,takeshineshiro/redis,Aliceljm1/redis,h0x91b/redis,qiyang0221/redis,HeartSaVioR/redis,izhoujie/redis,healerkx/redis,LongXQ/redis,0x55/redis-3.0-annotated,a-pavlov/redis,sunheehnus/redis,modulexcite/redis,valdsJohn/redis,jacklee0810/annotated_redis_source,pcarrier/redis,pedigree/redis,honestme/redis,rouzier/redis,ttuna/msot-redis,ctripcorp/redis,mcanthony/redis,ReadCode/redis-3.0-annotated,allengaller/redis,moonbingbing/redis-3.0-annotated,OmarQunsul/graph-redis,splitice/redis,zguangyu/redis,Soledad89/redis,spinlock/redis,190235047/redis,tellapart/redis,ctripcorp/redis,fengshao0907/redis-3.0-annotated,ttuna/msot-redis,mengzhejin/RedisStudy,MSOpenTech/redis,roth1002/redis,vincent-vivian-liu/redis,drinkthere/redis-3.0-annotated,josephholsten/redis,Sciumo/redis,MasahikoSawada/redis,guker/redis,ReadCode/redis-3.0-annotated,thomasdarimont/redis,weizijun/redis,citusdata/redis,AALEKH/redis,holstvoogd/redis,tidatida/annotated_redis_source,flashbuckets/redis,jbochi/redis,Wangyao14cyy/redis,jermnelson/redis,ncopa/redis,mumingv/redis,yuzhangjob/redis-3.0-annotated-unstable,shreesundara/redis,tjschuck/redis,roth1002/redis,mingyaaaa/redis,MSOpenTech/redis,ncopa/redis,timothyohare/3rdPartySrc-redis,raphaelfruneaux/redis,NBSW/redis,citusdata/redis,jacklee0810/redis-3.0-annotated,CodeJuan/redis,YuanZhewei/redis,unasm/redis-3.0-annotated,blackmady/redis,MOON-CLJ/redis,AALEKH/redis,yossigo/redis,elkingtonmcb/redis,j0hnma/hszredis,mcanthony/redis,ouyangkongtong/redis,wujf/redis,huangz1990/annotated_redis_source,GitHubMota/redis,twskipper/redis,alenslan/redis,AplayER/redis,janekmi/redis,saisai/redis,slfs007/mk-redis,tanghaodong25/redis,fengshao0907/redis-3.0-annotated,xuguruogu/redis,zy416548283/redis-3.0-annotated,qiyang0221/redis,ttuna/msot-redis,pietern/redis,seandsky/redis,gilala/hbjredis,zczhuohuo/redis,miaoyc1989/redis-3.0-annotated,brg-liuwei/redis,programmecat/redis,gilala/hbjredis,pietern/redis,cusspvz/redis,JoeWoo/redis,atreeyang/redis,Aaron1992/redis,nilyang/redis-tdd-annotation,modulexcite/redis,shshlzh/redis-3.0-annotated,neomantra/redis,ChaosCoo/annotated_redis_source,0x55/redis-3.0-annotated,PradheepShrinivasan/redis,shreesundara/redis,Aaron1992/redis,hawkchch/redis,iandyh/redis,HeartSaVioR/redis,YuanZhewei/redis,louisliangjun/redis,StevenTsai/redis,iandyh/redis,elkingtonmcb/redis,Jonekee/redis,machicao2013/redis-source-annotated,SyntaxStacks/redis,gspandy/annotated_redis_source,hornen/redis,xujunhai1991/redis,simplestbest/redis,davidradunz/redis,netroby/redis,huangz1990/experiment-redis,sunlianqiang/redis-3.0-annotated,rrsean/redis-3.0-annotated,brg-liuwei/redis,Aliceljm1/redis-3.0-annotated,mattsta/redis,sunheehnus/redis,mingyaaaa/redis,whille/redis-3.0-annotated,yybirdcf/learn-redis,buobao/redis-3.0-annotated,mengzhejin/RedisStudy,pcarrier/redis,jackyan/redis,charsyam/redis,SummonY/redis,wangyikai/redis,machicao2013/redis-source-annotated,xuzhezhaozhao/redis_reading,gongice/redis-3.0-annotated,0x20h/redis,honestme/redis,onlymellb/redis-3.0-annotated,itamarhaber/redis,timothyohare/3rdPartySrc-redis,cusspvz/redis,louisliangjun/redis,Markgorden/redis,darksideofthemoo/redis-histogram,kmiku7/redis,fankeke/redis-3.0-annotated,dreamquster/redis,timothyohare/3rdPartySrc-redis,itugs/redis,fengshao0907/annotated_redis_source,weizijun/redis,neomantra/redis,antirez/redis,idning/redis,izhoujie/redis,mverrilli/redis,fengshao0907/redis,CodeJuan/redis,mcanthony/redis,rogerchina/redis,jingjidejuren/redis,ytjiang/redis,francischan714/redis,iandyh/redis,a-pavlov/redis,SyntaxStacks/redis,janekmi/redis,Aaron1992/redis,brg-liuwei/redis,huyuezheng/redis,shshlzh/redis-3.0-annotated,weizijun/redis,abhiklodh/redis,gilala/bjredis,clamoriniere1A/redis,tanghaodong25/redis,ncopa/redis,splitice/redis,PradheepShrinivasan/redis,netroby/redis,nuxeh/redis,josiahcarlson/redis,yuhc/redis-benchmark-enhanced,thomasdarimont/redis,hhli/redis,yuhc/redis-benchmark-enhanced,pedigree/redis,mrb/redis,tzq668766/redis-3.0-annotated,josiahcarlson/redis,louisliangjun/redis,wbailey5/redis,AALEKH/redis,duanx/redis,Hailei/redis,jingjidejuren/redis,huangz1990/redis-3.0-annotated,NBSW/redis,arijitvt/redis,nilyang/redis-tdd-annotation,nnog/redis,shshlzh/redis-3.0-annotated,4396/redis,harrisonfeng/redis,rouzier/redis,xlzhan/redis,xuzhezhaozhao/redis_reading,zhaobo1023/redis-3.0-annotated,rouzier/redis,kmiku7/redis,oranagra/redis,atreeyang/redis,ksarch-saas/redis,ituncle/redis,aluzzardi/redis,wprice/redis,shreesundara/redis,ituncle/redis,gilala/hredis,xuguruogu/redis,seandsky/redis,Markgorden/redis,rogerlz/redis,davidradunz/redis,MSOpenTech/redis,PKRoma/redis,mgk/redis,holstvoogd/redis,msn217/redis-3.0-annotated,taoguan/redis,fengshao0907/redis,vincent-vivian-liu/redis,zooniverse/redis,zczhuohuo/redis,itugs/redis,wbailey5/redis,josephholsten/redis,ksarch-saas/redis,rogerlz/redis,MOON-CLJ/redis,Hailei/redis,idning/redis,mpalmer/redis,rrsean/redis-3.0-annotated,zhiliaoniu/redis,antirez/redis,programmecat/redis,mengzhejin/RedisStudy,mverrilli/redis,zhaobo1023/redis-3.0-annotated,guker/redis,mrb/redis,simplestbest/redis,mpalmer/redis,wuyu201321060203/redis-3.0-annotated,mengyou0304/redis,tjschuck/redis,xlzhan/redis,adamweixuan/redis-3.0-annotated,SyntaxStacks/redis,zhiliaoniu/redis,wujf/redis,j0hnma/hszredis,WorkingOfTimtohyZhang/redis-3.0-annotated,haima-zju/redis-3.0-annotated,mrb/redis,josiahcarlson/redis,cloudrain21/redis,jingjidejuren/redis,mumingv/redis-3.0-annotated,yossigo/redis,elkingtonmcb/redis,msn217/redis-3.0-annotated,allengaller/redis,ReadCode/redis-3.0-annotated,buobao/redis-3.0-annotated,Hailei/redis,JoeWoo/redis,Markgorden/redis,rogerchina/redis,programmecat/redis,ketor/redis,healerkx/redis,0x55/redis-3.0-annotated,jackyan/redis,pmem/redis,valdsJohn/redis,takeshineshiro/redis,PKRoma/redis,arijitvt/redis,soveran/redis,yossigo/redis,gaoxianglong/redis,jbochi/redis,fankeke/redis-3.0-annotated,mverrilli/redis,haima-zju/redis-3.0-annotated,spearhead-ea/redis,huyuezheng/redis,mpalmer/redis,francischan714/redis,neomantra/redis,machicao2013/redis-source-annotated,taoguan/redis,hgl888/redis,YuanZhewei/redis,arijitvt/redis,unasm/redis-3.0-annotated,Markgorden/redis,seppo0010/rlite-server,ton31337/redis,devaos/redis,taoguan/redis,ramonsnir/redis,jermnelson/redis,gilala/bjredis,ChaosCoo/annotated_redis_source,4396/redis,jbochi/parallel_redis,rogerchina/redis,devaos/redis,louisliangjun/redis,mattsta/redis,Instagram/redis,davidradunz/redis,j0hnma/szredis,mgk/redis,duanx/redis,kensou97/redis,darksideofthemoo/redis-histogram,abhiklodh/redis,jbochi/redis,mpalmer/redis,july2993/redis,shining-yang/redis,saisai/redis,wenxueliu/redis_comment,zy416548283/redis-3.0-annotated,whille/redis-3.0-annotated,aim-for-better/redis,a-pavlov/redis,linfangrong/redis,hornen/redis,tanghaodong25/redis,linfangrong/redis,ketor/redis,pkdevbox/redis,janekmi/redis,cnbin/redis,ouyangkongtong/redis,soloestoy/redis,simplestbest/redis,fengshao0907/annotated_redis_source,RepmujNetsik/redis,francischan714/redis,fengshao0907/annotated_redis_source,holstvoogd/redis,twskipper/redis,gilala/hbjredis,hhli/redis,zhcy/redis,rrsean/redis-3.0-annotated,GitHubMota/redis,rouzier/redis,YongMan/redis,pmem/redis,danny200309/annotated_redis_source,j0hnma/szredis,nilyang/redis-tdd-annotation,weizijun/redis,nnog/redis,ketor/redis,taoguan/redis,nuxeh/redis,simplestbest/redis,spinlock/redis,roth1002/redis,spinlock/redis,oranagra/redis,atreeyang/redis,badboy/redis,h0x91b/redis,z-fork/redis,jasonkying/redis,drinkthere/redis-3.0-annotated,Soledad89/redis,dayuoba/redis,oranagra/redis,ton31337/redis,zczhuohuo/redis,thomasdarimont/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,csuhawk/redis,kaushik94/redis,hgl888/redis,PKRoma/redis,OmarQunsul/graph-redis,cusspvz/redis,kaushik94/redis,gaoxianglong/redis,blackmady/redis,kaushik94/redis,haima-zju/redis-3.0-annotated,GitHubMota/redis,splitice/redis,abhiklodh/redis,riyan8250/redis,miaoyc1989/redis-3.0-annotated,hedisdb/hedis,mingyaaaa/redis,zhaobo1023/redis-3.0-annotated,wprice/redis,jasonkying/redis,j0hnma/hszredis,janekmi/redis,wuxiaowei907/annotated_redis_source,maodeyi/redis_lua,maodeyi/redis_lua,Jonekee/redis,hhli/redis,Cisphyx/redis-websockets,shining-yang/redis,dongqifan2/redis-3.0-annotated,ttuna/msot-redis,seppo0010/rlite-server,ctripcorp/redis,oranagra/redis,aim-for-better/redis,cloudrain21/redis,Wangyao14cyy/redis,universsky/redis,JoeWoo/redis,izhoujie/redis,0x20h/redis,Sciumo/redis,linfangrong/redis,supasate/redis,dramenk/annotated_redis_source,zhoudayang/redis,devaos/redis,gspandy/annotated_redis_source,xlzhan/redis,pkdevbox/redis,shining-yang/redis,mgk/redis,moonbingbing/redis-3.0-annotated,spinlock/redis,dayuoba/redis,ChanningDuan/annotated_redis_source,huangz1990/annotated_redis_source,pcarrier/redis,francischan714/redis,cnbin/redis,viongpanzi/annotated_redis_source,itamarhaber/redis,gilala/hredis,cusspvz/redis,harrisonfeng/redis,HunanTV/redis,pkdevbox/redis,190235047/redis,huyuezheng/redis,HouKangkang/redis-3.0-annotated,cnbin/redis,josiahcarlson/redis,hhli/redis,kmiku7/redis,badboy/redis,ErikDubbelboer/redis,universsky/redis,SummonY/redis,kensou97/redis,190235047/redis,duanx/redis,idning/redis,jxwr/redis,modulexcite/redis,Instagram/redis,yybirdcf/learn-redis,zhiliaoniu/redis,xuzhezhaozhao/redis_reading,cloudrain21/redis,0x20h/redis,Sciumo/redis,YongMan/redis,Soledad89/redis,badboy/redis,twskipper/redis,narma/redis,mingyaaaa/redis,Hailei/redis,YuraLukashik/redis,seppo0010/redis,HeartSaVioR/redis,neomantra/redis,soveran/redis,xuzhezhaozhao/redis_reading,flashbuckets/redis,ipmobiletech/redis,colstrom/redis,allengaller/redis,seppo0010/rlite-server,wujf/redis,supasate/redis,machicao2013/redis-source-annotated,jacklee0810/redis-3.0-annotated,healerkx/redis,riyan8250/redis,kensou97/redis,yuhc/redis-benchmark-enhanced,a-pavlov/redis,pietern/redis,fengshao0907/redis,sunlianqiang/redis-3.0-annotated,devaos/redis,Cisphyx/redis-websockets,modulexcite/redis,blackmady/redis,pedigree/redis,gechong/redis-3.0-annotated,OmarQunsul/graph-redis,tzq668766/redis-3.0-annotated,tanghaodong25/redis,thomasdarimont/redis,Wangyao14cyy/redis,flashbuckets/redis,gilala/redis,blackmady/redis,valdsJohn/redis,dayuoba/redis,fengshao0907/redis,YongMan/redis,oranagra/redis,itamarhaber/redis,sunlianqiang/redis-3.0-annotated,jingjidejuren/redis,MasahikoSawada/redis,csuhawk/redis,AplayER/redis,tellapart/redis,wuxiaowei907/annotated_redis_source,universsky/redis,huyuezheng/redis,wuyu201321060203/redis-3.0-annotated,hawkchch/redis,cloudrain21/redis,slfs007/mk-redis,magastzheng/redis-3.0-annotated,j0hnma/szredis,YuraLukashik/redis,Soledad89/redis,himoca/redis,seppo0010/redis,wenxueliu/redis_comment,spearhead-ea/redis,Aaron1992/redis,harrisonfeng/redis,ofirluzon/redis,rogerchina/redis,PradheepShrinivasan/redis,ytjiang/redis,seppo0010/redis,NBSW/redis,NBSW/redis,wujf/redis,nnog/redis,gilala/hbjredis,tellapart/redis,huangz1990/experiment-redis,0x55/redis-3.0-annotated,jasonkying/redis,zczhuohuo/redis,hawkchch/redis,darksideofthemoo/redis-histogram,SummonY/redis,figoxu/annotated_redis_source,zy416548283/redis-3.0-annotated,dramenk/annotated_redis_source,zhoudayang/redis,zguangyu/redis,huangz1990/redis-3.0-annotated,pietern/redis,buobao/redis-3.0-annotated,hgl888/redis,dreamquster/redis,rogerlz/redis,HouKangkang/redis-3.0-annotated,wprice/redis,soveran/redis,citusdata/redis,whille/redis-3.0-annotated,AplayER/redis,YuraLukashik/redis,nnog/redis,zhcy/redis,pedigree/redis,ChaosCoo/annotated_redis_source,j0hnma/hszredis,holstvoogd/redis,charsyam/redis,jxwr/redis,PKRoma/redis,zooniverse/redis,supasate/redis,OmarQunsul/graph-redis,clamoriniere1A/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,josephholsten/redis,msn217/redis-3.0-annotated,colstrom/redis,vincent-vivian-liu/redis,honestme/redis,mumingv/redis,JoeWoo/redis,YuanZhewei/redis,jackyan/redis,Sciumo/redis,hedisdb/hedis,tzq668766/redis-3.0-annotated,duanx/redis,miaoyc1989/redis-3.0-annotated,yossigo/redis,gilala/redis,aluzzardi/redis,alenslan/redis,ofirluzon/redis,wuyu201321060203/redis-3.0-annotated,z-fork/redis,danny200309/annotated_redis_source,tjschuck/redis,wangyikai/redis,LongXQ/redis,PradheepShrinivasan/redis,PKRoma/redis,zhcy/redis,fankeke/redis-3.0-annotated,dramenk/annotated_redis_source,LongXQ/redis,fengshao0907/redis-3.0-annotated,itugs/redis,ChanningDuan/annotated_redis_source,seandsky/redis,0x20h/redis,dayuoba/redis,LongXQ/redis,ouyangkongtong/redis,Jonekee/redis,HunanTV/redis,GrimDerp/redis,StevenTsai/redis,HouKangkang/redis-3.0-annotated,brg-liuwei/redis,drinkthere/redis-3.0-annotated,adamweixuan/redis-3.0-annotated,soloestoy/redis,RepmujNetsik/redis,gspandy/annotated_redis_source,iandyh/redis,mattsta/redis,CodeJuan/redis,ofirluzon/redis,xujunhai1991/redis,hornen/redis,hedisdb/hedis,jxwr/redis,kmiku7/redis,splitice/redis,nuxeh/redis,ncopa/redis,citusdata/redis,davidradunz/redis,jackyan/redis,hgl888/redis,Aliceljm1/redis-3.0-annotated,zhiliaoniu/redis,z-fork/redis,abhiklodh/redis,mverrilli/redis,mrb/redis,gongice/redis-3.0-annotated,elkingtonmcb/redis,AALEKH/redis,HeartSaVioR/redis,unasm/redis-3.0-annotated,charsyam/redis,aluzzardi/redis,GrimDerp/redis,ouyangkongtong/redis,viongpanzi/annotated_redis_source,netroby/redis,danny200309/annotated_redis_source,xuguruogu/redis,hornen/redis,badboy/redis,pkdevbox/redis,wenxueliu/redis_comment,tidatida/annotated_redis_source,h0x91b/redis,gilala/redis,figoxu/annotated_redis_source,xlzhan/redis,harrisonfeng/redis,rogerlz/redis,jbochi/parallel_redis,onlymellb/redis-3.0-annotated,colstrom/redis,gilala/hredis,alenslan/redis,soloestoy/redis,yuhc/redis-benchmark-enhanced,hawkchch/redis,xujunhai1991/redis,wbailey5/redis,himoca/redis,guker/redis,healerkx/redis,honestme/redis,universsky/redis,narma/redis,mgk/redis,mumingv/redis,jacklee0810/redis-3.0-annotated,roth1002/redis,HunanTV/redis,guker/redis,twskipper/redis,slfs007/mk-redis,ChanningDuan/annotated_redis_source,190235047/redis,sunheehnus/redis,mengyou0304/redis,MSOpenTech/redis,yossigo/redis,nuxeh/redis,Cisphyx/redis-websockets,takeshineshiro/redis,RepmujNetsik/redis,soveran/redis,ton31337/redis,miaoyc1989/redis-3.0-annotated,july2993/redis,MasahikoSawada/redis,gaoxianglong/redis,SummonY/redis,j0hnma/szredis,ErikDubbelboer/redis,shining-yang/redis,GitHubMota/redis,ton31337/redis,mumingv/redis-3.0-annotated,zhoudayang/redis,ErikDubbelboer/redis,ksarch-saas/redis,tidatida/annotated_redis_source,4396/redis,pmem/redis,dongqifan2/redis-3.0-annotated,wangyikai/redis,yybirdcf/learn-redis,figoxu/annotated_redis_source,mumingv/redis-3.0-annotated,arijitvt/redis,gongice/redis-3.0-annotated,kensou97/redis,gechong/redis-3.0-annotated,GrimDerp/redis,jacklee0810/annotated_redis_source,jbochi/parallel_redis,zooniverse/redis,clamoriniere1A/redis,xuguruogu/redis,mumingv/redis,z-fork/redis,nilyang/redis-tdd-annotation,gaoxianglong/redis,HunanTV/redis,seandsky/redis,soloestoy/redis,antirez/redis,seppo0010/rlite-server,aim-for-better/redis,seppo0010/redis,ofirluzon/redis,pcarrier/redis,netroby/redis