popcount() optimization for speed.
popcount() optimization for speed.

We run the array by 32 bit words instead of processing it byte per byte.
If the code is compiled using GCC __builtin_popcount() builtin function
is used instead.

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