Refactor Bag to use contiguous storage for its elements
Refactor Bag to use contiguous storage for its elements

This dramatically reduces the time spent in Bag.generate (which is very
frequently used for observer and disposable lists).

AndyZhaoHe/ReactiveCocoa,cnbin/ReactiveCocoa,sandyway/ReactiveCocoa,victorlin/ReactiveCocoa,KuPai32G/ReactiveCocoa,zhukaixy/ReactiveCocoa,Ricowere/ReactiveCocoa,msdgwzhy6/ReactiveCocoa,shaohung001/ReactiveCocoa,dskatz22/ReactiveCocoa,WEIBP/ReactiveCocoa,yangyangluoluo/ReactiveCocoa,brasbug/ReactiveCocoa,beni55/ReactiveCocoa,pzw224/ReactiveCocoa,JohnJin007/ReactiveCocoa,dskatz22/ReactiveCocoa,zhiwen1024/ReactiveCocoa,RuiAAPeres/ReactiveCocoa,OnTheWay1988/ReactiveCocoa,dz1111/ReactiveCocoa,esttorhe/ReactiveCocoa,Ray0218/ReactiveCocoa,200895045/ReactiveCocoa,RuiAAPeres/ReactiveCocoa,KJin99/ReactiveCocoa,dskatz22/ReactiveCocoa,natestedman/ReactiveCocoa,CQXfly/ReactiveCocoa,yoichitgy/ReactiveCocoa,zhigang1992/ReactiveCocoa,jaylib/ReactiveCocoa,bscarano/ReactiveCocoa,yaoxiaoyong/ReactiveCocoa,jeelun/ReactiveCocoa,Eveian/ReactiveCocoa,cnbin/ReactiveCocoa,hilllinux/ReactiveCocoa,fanghao085/ReactiveCocoa,tonyarnold/ReactiveCocoa,ohwutup/ReactiveCocoa,kevin-zqw/ReactiveCocoa,esttorhe/ReactiveCocoa,zhenlove/ReactiveCocoa,beni55/ReactiveCocoa,zhaoguohui/ReactiveCocoa,BlessNeo/ReactiveCocoa,tonyli508/ReactiveCocoa,jrmiddle/ReactiveCocoa,AlanJN/ReactiveCocoa,tzongw/ReactiveCocoa,GuitarPlayer-Ma/ReactiveCocoa,Khan/ReactiveCocoa,sujeking/ReactiveCocoa,nikita-leonov/ReactiveCocoa,ericzhou2008/ReactiveCocoa,llb1119/test,Ray0218/ReactiveCocoa,FelixYin66/ReactiveCocoa,zhigang1992/ReactiveCocoa,KuPai32G/ReactiveCocoa,itschaitanya/ReactiveCocoa,smilypeda/ReactiveCocoa,yaoxiaoyong/ReactiveCocoa,huiping192/ReactiveCocoa,yytong/ReactiveCocoa,DreamHill/ReactiveCocoa,alvinvarghese/ReactiveCocoa,bensonday/ReactiveCocoa,ikesyo/ReactiveCocoa,chieryw/ReactiveCocoa,jam891/ReactiveCocoa,DreamHill/ReactiveCocoa,taylormoonxu/ReactiveCocoa,CCOOOOLL/ReactiveCocoa,wpstarnice/ReactiveCocoa,beni55/ReactiveCocoa,zhiwen1024/ReactiveCocoa,SuPair/ReactiveCocoa,zhaoguohui/ReactiveCocoa,Ethan89/ReactiveCocoa,FelixYin66/ReactiveCocoa,chieryw/ReactiveCocoa,takeshineshiro/ReactiveCocoa,msdgwzhy6/ReactiveCocoa,JackLian/ReactiveCocoa,juliangrosshauser/ReactiveCocoa,zzzworm/ReactiveCocoa,jam891/ReactiveCocoa,ohwutup/ReactiveCocoa,ioshger0125/ReactiveCocoa,ikesyo/ReactiveCocoa,yoichitgy/ReactiveCocoa,CQXfly/ReactiveCocoa,ReactiveCocoa/ReactiveSwift,sujeking/ReactiveCocoa,kiurentu/ReactiveCocoa,dullgrass/ReactiveCocoa,rpowelll/ReactiveCocoa,SanChain/ReactiveCocoa,Pingco/ReactiveCocoa,luerhouhou/ReactiveCocoa,yangshengchaoios/ReactiveCocoa,hj3938/ReactiveCocoa,stupidfive/ReactiveCocoa,hoanganh6491/ReactiveCocoa,brasbug/ReactiveCocoa,llb1119/test,kaylio/ReactiveCocoa,shuxiashusheng/ReactiveCocoa,sugar2010/ReactiveCocoa,JackLian/ReactiveCocoa,KJin99/ReactiveCocoa,JohnJin007/ReactiveCocoa,monkeydbobo/ReactiveCocoa,smilypeda/ReactiveCocoa,zhigang1992/ReactiveCocoa,tonyli508/ReactiveCocoa,xiaobing2007/ReactiveCocoa,Liquidsoul/ReactiveCocoa,huiping192/ReactiveCocoa,zxq3220122/ReactiveCocoa,loupman/ReactiveCocoa,xiaobing2007/ReactiveCocoa,OneSmallTree/ReactiveCocoa,nickcheng/ReactiveCocoa,tornade0913/ReactiveCocoa,Eveian/ReactiveCocoa,smilypeda/ReactiveCocoa,zzqiltw/ReactiveCocoa,xiaoliyang/ReactiveCocoa,towik/ReactiveCocoa,longv2go/ReactiveCocoa,kaylio/ReactiveCocoa,ShawnLeee/ReactiveCocoa,dullgrass/ReactiveCocoa,hoanganh6491/ReactiveCocoa,Khan/ReactiveCocoa,Khan/ReactiveCocoa,ztchena/ReactiveCocoa,CQXfly/ReactiveCocoa,isghe/ReactiveCocoa,JackLian/ReactiveCocoa,wangqi211/ReactiveCocoa,paulyoung/ReactiveCocoa,SanChain/ReactiveCocoa,calebd/ReactiveCocoa,Juraldinio/ReactiveCocoa,zhiwen1024/ReactiveCocoa,chao95957/ReactiveCocoa,alvinvarghese/ReactiveCocoa,Ricowere/ReactiveCocoa,tiger8888/ReactiveCocoa,ddc391565320/ReactiveCocoa,lixar/ReactiveCocoa,ceekayel/ReactiveCocoa,emodeqidao/ReactiveCocoa,mxxiv/ReactiveCocoa,kaylio/ReactiveCocoa,xulibao/ReactiveCocoa,PSPDFKit-labs/ReactiveCocoa,on99/ReactiveCocoa,hj3938/ReactiveCocoa,howandhao/ReactiveCocoa,jaylib/ReactiveCocoa,Juraldinio/ReactiveCocoa,stevielu/ReactiveCocoa,sandyway/ReactiveCocoa,andersio/ReactiveCocoa,almassapargali/ReactiveCocoa,almassapargali/ReactiveCocoa,WEIBP/ReactiveCocoa,qq644531343/ReactiveCocoa,sandyway/ReactiveCocoa,fanghao085/ReactiveCocoa,shuxiashusheng/ReactiveCocoa,takeshineshiro/ReactiveCocoa,fanghao085/ReactiveCocoa,icepy/ReactiveCocoa,Ethan89/ReactiveCocoa,leelili/ReactiveCocoa,icepy/ReactiveCocoa,brasbug/ReactiveCocoa,yangyangluoluo/ReactiveCocoa,add715/ReactiveCocoa,clg0118/ReactiveCocoa,victorlin/ReactiveCocoa,LHDsimon/ReactiveCocoa,BrooksWon/ReactiveCocoa,loupman/ReactiveCocoa,jackywpy/ReactiveCocoa,fhchina/ReactiveCocoa,leichunfeng/ReactiveCocoa,wangqi211/ReactiveCocoa,eyu1988/ReactiveCocoa,walkingsmarts/ReactiveCocoa,jsslai/ReactiveCocoa,nickcheng/ReactiveCocoa,mtxs007/ReactiveCocoa,longv2go/ReactiveCocoa,monkeydbobo/ReactiveCocoa,mattpetters/ReactiveCocoa,Rupert-RR/ReactiveCocoa,paulyoung/ReactiveCocoa,dachaoisme/ReactiveCocoa,CCOOOOLL/ReactiveCocoa,libiao88/ReactiveCocoa,SuPair/ReactiveCocoa,yytong/ReactiveCocoa,monkeydbobo/ReactiveCocoa,vincentiss/ReactiveCocoa,yangshengchaoios/ReactiveCocoa,ceekayel/ReactiveCocoa,sugar2010/ReactiveCocoa,Farteen/ReactiveCocoa,CCOOOOLL/ReactiveCocoa,dachaoisme/ReactiveCocoa,natan/ReactiveCocoa,RuiAAPeres/ReactiveCocoa,hilllinux/ReactiveCocoa,jam891/ReactiveCocoa,jsslai/ReactiveCocoa,DongDongDongDong/ReactiveCocoa,nickcheng/ReactiveCocoa,xiaobing2007/ReactiveCocoa,add715/ReactiveCocoa,sdhzwm/ReactiveCocoa,calebd/ReactiveCocoa,DongDongDongDong/ReactiveCocoa,ioshger0125/ReactiveCocoa,juliangrosshauser/ReactiveCocoa,AndyZhaoHe/ReactiveCocoa,ohwutup/ReactiveCocoa,takeshineshiro/ReactiveCocoa,xumaolin/ReactiveCocoa,j364960953/ReactiveCocoa,Ray0218/ReactiveCocoa,shaohung001/ReactiveCocoa,richeterre/ReactiveCocoa,xiaoliyang/ReactiveCocoa,gengjf/ReactiveCocoa,bensonday/ReactiveCocoa,mxxiv/ReactiveCocoa,BlessNeo/ReactiveCocoa,stevielu/ReactiveCocoa,Juraldinio/ReactiveCocoa,buildo/ReactiveCocoa,leelili/ReactiveCocoa,towik/ReactiveCocoa,KuPai32G/ReactiveCocoa,taylormoonxu/ReactiveCocoa,zxq3220122/ReactiveCocoa,imkerberos/ReactiveCocoa,tiger8888/ReactiveCocoa,Eveian/ReactiveCocoa,OnTheWay1988/ReactiveCocoa,OneSmallTree/ReactiveCocoa,j364960953/ReactiveCocoa,libiao88/ReactiveCocoa,huiping192/ReactiveCocoa,natan/ReactiveCocoa,cstars135/ReactiveCocoa,goodheart/ReactiveCocoa,on99/ReactiveCocoa,sujeking/ReactiveCocoa,jrmiddle/ReactiveCocoa,yonekawa/ReactiveCocoa,pzw224/ReactiveCocoa,ztchena/ReactiveCocoa,xumaolin/ReactiveCocoa,yaoxiaoyong/ReactiveCocoa,dullgrass/ReactiveCocoa,ceekayel/ReactiveCocoa,howandhao/ReactiveCocoa,ShawnLeee/ReactiveCocoa,zhukaixy/ReactiveCocoa,jsslai/ReactiveCocoa,j364960953/ReactiveCocoa,victorlin/ReactiveCocoa,liufeigit/ReactiveCocoa,yonekawa/ReactiveCocoa,paulyoung/ReactiveCocoa,walkingsmarts/ReactiveCocoa,longv2go/ReactiveCocoa,natestedman/ReactiveCocoa,PSPDFKit-labs/ReactiveCocoa,chao95957/ReactiveCocoa,yonekawa/ReactiveCocoa,wpstarnice/ReactiveCocoa,stupidfive/ReactiveCocoa,ztchena/ReactiveCocoa,JohnJin007/ReactiveCocoa,Liquidsoul/ReactiveCocoa,OnTheWay1988/ReactiveCocoa,Pingco/ReactiveCocoa,eyu1988/ReactiveCocoa,kiurentu/ReactiveCocoa,zhaoguohui/ReactiveCocoa,llb1119/test,msdgwzhy6/ReactiveCocoa,Farteen/ReactiveCocoa,yizzuide/ReactiveCocoa,xumaolin/ReactiveCocoa,Rupert-RR/ReactiveCocoa,add715/ReactiveCocoa,chieryw/ReactiveCocoa,yangshengchaoios/ReactiveCocoa,mattpetters/ReactiveCocoa,gengjf/ReactiveCocoa,wpstarnice/ReactiveCocoa,wangqi211/ReactiveCocoa,ericzhou2008/ReactiveCocoa,itschaitanya/ReactiveCocoa,gengjf/ReactiveCocoa,zhukaixy/ReactiveCocoa,ioshger0125/ReactiveCocoa,cogddo/ReactiveCocoa,Ricowere/ReactiveCocoa,jeelun/ReactiveCocoa,liufeigit/ReactiveCocoa,eyu1988/ReactiveCocoa,BlessNeo/ReactiveCocoa,yizzuide/ReactiveCocoa,bscarano/ReactiveCocoa,buildo/ReactiveCocoa,dachaoisme/ReactiveCocoa,mtxs007/ReactiveCocoa,bensonday/ReactiveCocoa,xulibao/ReactiveCocoa,cstars135/ReactiveCocoa,shuxiashusheng/ReactiveCocoa,vincentiss/ReactiveCocoa,sdhzwm/ReactiveCocoa,fhchina/ReactiveCocoa,clg0118/ReactiveCocoa,tonyarnold/ReactiveCocoa,BrooksWon/ReactiveCocoa,cogddo/ReactiveCocoa,200895045/ReactiveCocoa,on99/ReactiveCocoa,alvinvarghese/ReactiveCocoa,lixar/ReactiveCocoa,PSPDFKit-labs/ReactiveCocoa,BrooksWon/ReactiveCocoa,luerhouhou/ReactiveCocoa,jeelun/ReactiveCocoa,hilllinux/ReactiveCocoa,leichunfeng/ReactiveCocoa,tzongw/ReactiveCocoa,richeterre/ReactiveCocoa,OneSmallTree/ReactiveCocoa,isghe/ReactiveCocoa,xiaoliyang/ReactiveCocoa,jackywpy/ReactiveCocoa,hj3938/ReactiveCocoa,WEIBP/ReactiveCocoa,tzongw/ReactiveCocoa,chao95957/ReactiveCocoa,LHDsimon/ReactiveCocoa,cstars135/ReactiveCocoa,FelixYin66/ReactiveCocoa,AlanJN/ReactiveCocoa,leichunfeng/ReactiveCocoa,KJin99/ReactiveCocoa,icepy/ReactiveCocoa,rpowelll/ReactiveCocoa,nikita-leonov/ReactiveCocoa,nickcheng/ReactiveCocoa,cnbin/ReactiveCocoa,cogddo/ReactiveCocoa,zxq3220122/ReactiveCocoa,zzqiltw/ReactiveCocoa,kevin-zqw/ReactiveCocoa,Ethan89/ReactiveCocoa,kevin-zqw/ReactiveCocoa,taylormoonxu/ReactiveCocoa,ReactiveCocoa/ReactiveSwift,rpowelll/ReactiveCocoa,DongDongDongDong/ReactiveCocoa,stupidfive/ReactiveCocoa,AlanJN/ReactiveCocoa,loupman/ReactiveCocoa,howandhao/ReactiveCocoa,windgo/ReactiveCocoa,zzzworm/ReactiveCocoa,ddc391565320/ReactiveCocoa,DreamHill/ReactiveCocoa,stevielu/ReactiveCocoa,luerhouhou/ReactiveCocoa,andersio/ReactiveCocoa,walkingsmarts/ReactiveCocoa,tornade0913/ReactiveCocoa,windgo/ReactiveCocoa,emodeqidao/ReactiveCocoa,hbucius/ReactiveCocoa,yangyangluoluo/ReactiveCocoa,nikita-leonov/ReactiveCocoa,qq644531343/ReactiveCocoa,qq644531343/ReactiveCocoa,Rupert-RR/ReactiveCocoa,ddc391565320/ReactiveCocoa,imkerberos/ReactiveCocoa,esttorhe/ReactiveCocoa,fhchina/ReactiveCocoa,windgo/ReactiveCocoa,ShawnLeee/ReactiveCocoa,leelili/ReactiveCocoa,tornade0913/ReactiveCocoa,dz1111/ReactiveCocoa,xulibao/ReactiveCocoa,jaylib/ReactiveCocoa,GuitarPlayer-Ma/ReactiveCocoa,mattpetters/ReactiveCocoa,hoanganh6491/ReactiveCocoa,imkerberos/ReactiveCocoa,liufeigit/ReactiveCocoa,vincentiss/ReactiveCocoa,yizzuide/ReactiveCocoa,jrmiddle/ReactiveCocoa,richeterre/ReactiveCocoa,Liquidsoul/ReactiveCocoa,zzzworm/ReactiveCocoa,libiao88/ReactiveCocoa,dz1111/ReactiveCocoa,mxxiv/ReactiveCocoa,zzqiltw/ReactiveCocoa,itschaitanya/ReactiveCocoa,goodheart/ReactiveCocoa,tonyli508/ReactiveCocoa,200895045/ReactiveCocoa,shaohung001/ReactiveCocoa,Pingco/ReactiveCocoa,almassapargali/ReactiveCocoa,clg0118/ReactiveCocoa,kiurentu/ReactiveCocoa,juliangrosshauser/ReactiveCocoa,tonyarnold/ReactiveCocoa,isghe/ReactiveCocoa,tiger8888/ReactiveCocoa,natestedman/ReactiveCocoa,AndyZhaoHe/ReactiveCocoa,yoichitgy/ReactiveCocoa,ericzhou2008/ReactiveCocoa,buildo/ReactiveCocoa,zhenlove/ReactiveCocoa,andersio/ReactiveCocoa,jaylib/ReactiveCocoa,natan/ReactiveCocoa,yytong/ReactiveCocoa,lixar/ReactiveCocoa,towik/ReactiveCocoa,bscarano/ReactiveCocoa,jackywpy/ReactiveCocoa,SanChain/ReactiveCocoa,zhenlove/ReactiveCocoa,mtxs007/ReactiveCocoa,pzw224/ReactiveCocoa,huiping192/ReactiveCocoa,calebd/ReactiveCocoa,Farteen/ReactiveCocoa,goodheart/ReactiveCocoa,LHDsimon/ReactiveCocoa,Ricowere/ReactiveCocoa,hbucius/ReactiveCocoa,hbucius/ReactiveCocoa,SuPair/ReactiveCocoa,esttorhe/ReactiveCocoa,emodeqidao/ReactiveCocoa,ReactiveCocoa/ReactiveSwift,GuitarPlayer-Ma/ReactiveCocoa,sdhzwm/ReactiveCocoa,sugar2010/ReactiveCocoa