Small refactor for getting size
Small refactor for getting size

Currently, map is being called to extract sizes then reduce is called on that; so 2 iterations through the array. It is possible to solve this with only reduce: 1 iteration. reallyUsedModules probably won't ever be big enough for this to matter, so it comes down to readability.

I think doing a once-and-done reduce could be an improvement here. What do you guys think?
plasticine/webpack,webpack/webpack,silvaemota/webpack,mcanthony/webpack,g6scheme/webpack,halfzebra/webpack,voldern/webpack,longjl/webpack,Teino1978-Corp/Teino1978-Corp-webpack-bundled-assets,tiagoengel/webpack,modulexcite/webpack,rlugojr/webpack,nkzawa/webpack,marcello3d/webpack,cgvarela/webpack,DouglasHeriot/webpack,bjlxj2008/webpack,rlugojr/webpack,hubli/webpack,zyj1022/webpack,jerry-he/webpack,philipdai/webpack,SimenB/webpack,giobero999/webpack,mdcone/webpack,xuechunL/webpack,giobero999/webpack,smartpcr/webpack,ywjrg/webpack,beni55/webpack,spalger/webpack,g0ddish/webpack,cesarandreu/webpack,stephan83/webpack,ZECTBynmo/webpack,mdcone/webpack,g0ddish/webpack,EliteScientist/webpack,2947721120/webpack,djchie/webpack,haolee1990/webpack,fomenyesu/webpack,VANITAX/webpack,ftdebugger/webpack,beni55/webpack,neo15201788751/webpack-1,fomenyesu/webpack,benmosher/webpack,rpora/webpack,bjlxj2008/webpack,nagyistoce/webpack,imjerrybao/webpack,xiaoking/webpack,spalger/webpack,ianwcarlson/webpack,tsu-complete/webpack,mvandiest/webpack,tiagoengel/webpack,jakecraige/webpack,jshosomichi/webpack,neo15201788751/webpack-1,voldern/webpack,quentinyang/webpack,ifandelse/webpack,chentsulin/webpack,mvayngrib/webpack,michael-gabenna/webpack,rlugojr/webpack,rpora/webpack,jshosomichi/webpack,jescalan/webpack,ifandelse/webpack,s-panferov/webpack,dncrews/webpack,modulexcite/webpack,pugnascotia/webpack,zongkelong/webpack,mishk0/webpack,cesarandreu/webpack,skyh/webpack,philipdai/webpack,zenlambda/webpack,halfzebra/webpack,webpack/webpack,arielschiavoni/webpack,DouglasHeriot/webpack,ts-webpack/webpack,EliteScientist/webpack,2947721120/webpack,Faiz7412/webpack,SimenB/webpack,jescalan/webpack,stephan83/webpack,ts-webpack/webpack,rf-/webpack,ts-webpack/webpack,jescalan/webpack,g0ddish/webpack,cesarandreu/webpack,WenjieWu/webpack,webpack/webpack,zongkelong/webpack,cgvarela/webpack,sdawson/webpack,chentsulin/webpack,zenlambda/webpack,KamilSzot/webpack,hubli/webpack,yisbug/webpack,mvandiest/webpack,nagyistoce/webpack,mvayngrib/webpack,akx/webpack,arielschiavoni/webpack,mjackson/webpack,honger05/webpack,xatax/webpack,nkzawa/webpack,NekR/webpack,KamilSzot/webpack,nkzawa/webpack,akx/webpack,thaiat/webpack,cococoder/webpack,matthewlehner/webpack,izaakschroeder/webpack,ali/webpack,quentinyang/webpack,loganlinn/webpack,shaunstanislaus/webpack,plasticine/webpack,Ju2ender/webpack,tsu-complete/webpack,webpack/webpack,mcanthony/webpack,zyj1022/webpack,Zeratul5/webpack,SimenB/webpack,NekR/webpack,cranca/webpack,Jonekee/webpack,advisory/webpack,skyh/webpack,haolee1990/webpack,loganlinn/webpack,izaakschroeder/webpack,cranca/webpack,ftdebugger/webpack,Zeratul5/webpack,hcxiong/webpack,keyzf/webpack,wjb12/webpack,jakecraige/webpack,Ju2ender/webpack,widgetic/webpack,yisbug/webpack,advisory/webpack,s-panferov/webpack,sdawson/webpack,Cavitt/webpack,marcello3d/webpack,longjl/webpack,silvaemota/webpack,thaiat/webpack,cococoder/webpack,jerry-he/webpack,g6scheme/webpack,keyzf/webpack,Dashed/webpack,ianwcarlson/webpack,WenjieWu/webpack,ZECTBynmo/webpack,rf-/webpack,jamestautges/webpack,wjb12/webpack,ts-webpack/webpack,xatax/webpack,VANITAX/webpack,Teino1978-Corp/Teino1978-Corp-webpack-bundled-assets,SimenB/webpack,xiaoking/webpack,djchie/webpack,pugnascotia/webpack,pugnascotia/webpack,michael-gabenna/webpack,widgetic/webpack,honger05/webpack,smartpcr/webpack,Jonekee/webpack,matthewlehner/webpack,mjackson/webpack,benmosher/webpack,imjerrybao/webpack,shaunstanislaus/webpack,ali/webpack,hcxiong/webpack,Dashed/webpack,halfzebra/webpack,xuechunL/webpack,Cavitt/webpack,dncrews/webpack,Faiz7412/webpack,ywjrg/webpack,jamestautges/webpack,mishk0/webpack