ENH: sparse/lil: 50-100% speedup in __getitem__/__setitem__
ENH: sparse/lil: 50-100% speedup in __getitem__/__setitem__

Apparently comparison is slow for Numpy scalars.

ilayn/scipy,sauliusl/scipy,ales-erjavec/scipy,niknow/scipy,rgommers/scipy,Gillu13/scipy,surhudm/scipy,Srisai85/scipy,nonhermitian/scipy,mhogg/scipy,jonycgn/scipy,ChanderG/scipy,richardotis/scipy,perimosocordiae/scipy,piyush0609/scipy,cpaulik/scipy,mortada/scipy,argriffing/scipy,vberaudi/scipy,vigna/scipy,juliantaylor/scipy,argriffing/scipy,Gillu13/scipy,vigna/scipy,ndchorley/scipy,dch312/scipy,gdooper/scipy,dch312/scipy,andyfaff/scipy,gfyoung/scipy,Srisai85/scipy,andyfaff/scipy,dominicelse/scipy,vberaudi/scipy,aeklant/scipy,aarchiba/scipy,Dapid/scipy,mortonjt/scipy,rmcgibbo/scipy,witcxc/scipy,nonhermitian/scipy,aarchiba/scipy,Dapid/scipy,pschella/scipy,ogrisel/scipy,kalvdans/scipy,ortylp/scipy,njwilson23/scipy,WarrenWeckesser/scipy,dominicelse/scipy,richardotis/scipy,sriki18/scipy,nvoron23/scipy,Eric89GXL/scipy,niknow/scipy,zxsted/scipy,mikebenfield/scipy,scipy/scipy,futurulus/scipy,mortonjt/scipy,matthewalbani/scipy,perimosocordiae/scipy,lukauskas/scipy,lukauskas/scipy,matthewalbani/scipy,sonnyhu/scipy,aarchiba/scipy,raoulbq/scipy,dch312/scipy,hainm/scipy,jakevdp/scipy,jamestwebber/scipy,perimosocordiae/scipy,jakevdp/scipy,efiring/scipy,gef756/scipy,gdooper/scipy,Shaswat27/scipy,cpaulik/scipy,mortada/scipy,anntzer/scipy,rgommers/scipy,sonnyhu/scipy,pbrod/scipy,minhlongdo/scipy,tylerjereddy/scipy,mtrbean/scipy,mdhaber/scipy,zaxliu/scipy,grlee77/scipy,trankmichael/scipy,jor-/scipy,Eric89GXL/scipy,ChanderG/scipy,jsilter/scipy,ChanderG/scipy,lhilt/scipy,mdhaber/scipy,gef756/scipy,andyfaff/scipy,haudren/scipy,apbard/scipy,gef756/scipy,chatcannon/scipy,raoulbq/scipy,jakevdp/scipy,pschella/scipy,ndchorley/scipy,jjhelmus/scipy,maniteja123/scipy,nvoron23/scipy,lukauskas/scipy,larsmans/scipy,witcxc/scipy,fernand/scipy,cpaulik/scipy,giorgiop/scipy,Dapid/scipy,maciejkula/scipy,jonycgn/scipy,nonhermitian/scipy,minhlongdo/scipy,endolith/scipy,jamestwebber/scipy,dch312/scipy,FRidh/scipy,pnedunuri/scipy,Stefan-Endres/scipy,gertingold/scipy,mortonjt/scipy,jakevdp/scipy,pschella/scipy,argriffing/scipy,matthew-brett/scipy,tylerjereddy/scipy,zaxliu/scipy,surhudm/scipy,e-q/scipy,aarchiba/scipy,andim/scipy,ales-erjavec/scipy,argriffing/scipy,ilayn/scipy,arokem/scipy,pnedunuri/scipy,josephcslater/scipy,sargas/scipy,Newman101/scipy,mingwpy/scipy,grlee77/scipy,zaxliu/scipy,nmayorov/scipy,WarrenWeckesser/scipy,ales-erjavec/scipy,zerothi/scipy,e-q/scipy,kleskjr/scipy,ogrisel/scipy,vberaudi/scipy,ChanderG/scipy,andyfaff/scipy,pnedunuri/scipy,nmayorov/scipy,fernand/scipy,scipy/scipy,Eric89GXL/scipy,mikebenfield/scipy,mhogg/scipy,richardotis/scipy,felipebetancur/scipy,raoulbq/scipy,mtrbean/scipy,aarchiba/scipy,zxsted/scipy,chatcannon/scipy,cpaulik/scipy,ogrisel/scipy,pizzathief/scipy,rmcgibbo/scipy,newemailjdm/scipy,futurulus/scipy,pyramania/scipy,pschella/scipy,ChanderG/scipy,vanpact/scipy,rmcgibbo/scipy,larsmans/scipy,giorgiop/scipy,Shaswat27/scipy,jor-/scipy,rgommers/scipy,newemailjdm/scipy,sriki18/scipy,jjhelmus/scipy,kleskjr/scipy,mikebenfield/scipy,mgaitan/scipy,mdhaber/scipy,chatcannon/scipy,aman-iitj/scipy,anntzer/scipy,aeklant/scipy,FRidh/scipy,Stefan-Endres/scipy,sriki18/scipy,lhilt/scipy,chatcannon/scipy,woodscn/scipy,woodscn/scipy,vhaasteren/scipy,njwilson23/scipy,behzadnouri/scipy,petebachant/scipy,vanpact/scipy,pschella/scipy,surhudm/scipy,Gillu13/scipy,fernand/scipy,richardotis/scipy,arokem/scipy,vanpact/scipy,mortonjt/scipy,trankmichael/scipy,befelix/scipy,mgaitan/scipy,jsilter/scipy,mortada/scipy,FRidh/scipy,ogrisel/scipy,person142/scipy,sargas/scipy,giorgiop/scipy,fredrikw/scipy,WarrenWeckesser/scipy,scipy/scipy,ortylp/scipy,e-q/scipy,gertingold/scipy,arokem/scipy,dominicelse/scipy,mhogg/scipy,jjhelmus/scipy,sonnyhu/scipy,bkendzior/scipy,juliantaylor/scipy,chatcannon/scipy,trankmichael/scipy,mhogg/scipy,matthew-brett/scipy,grlee77/scipy,WarrenWeckesser/scipy,kalvdans/scipy,vberaudi/scipy,Eric89GXL/scipy,petebachant/scipy,pizzathief/scipy,fernand/scipy,jakevdp/scipy,jamestwebber/scipy,befelix/scipy,argriffing/scipy,kleskjr/scipy,befelix/scipy,Gillu13/scipy,rmcgibbo/scipy,bkendzior/scipy,kalvdans/scipy,vberaudi/scipy,ortylp/scipy,pbrod/scipy,andim/scipy,gfyoung/scipy,mikebenfield/scipy,andyfaff/scipy,ortylp/scipy,person142/scipy,juliantaylor/scipy,aeklant/scipy,sauliusl/scipy,kalvdans/scipy,kleskjr/scipy,hainm/scipy,mortada/scipy,maciejkula/scipy,nmayorov/scipy,jsilter/scipy,befelix/scipy,maniteja123/scipy,newemailjdm/scipy,maniteja123/scipy,nmayorov/scipy,efiring/scipy,e-q/scipy,jjhelmus/scipy,behzadnouri/scipy,endolith/scipy,giorgiop/scipy,niknow/scipy,jsilter/scipy,cpaulik/scipy,zaxliu/scipy,mtrbean/scipy,behzadnouri/scipy,gdooper/scipy,vhaasteren/scipy,person142/scipy,juliantaylor/scipy,nonhermitian/scipy,gertingold/scipy,maniteja123/scipy,FRidh/scipy,WillieMaddox/scipy,josephcslater/scipy,felipebetancur/scipy,ilayn/scipy,Srisai85/scipy,jor-/scipy,person142/scipy,WillieMaddox/scipy,Dapid/scipy,mtrbean/scipy,Srisai85/scipy,WarrenWeckesser/scipy,fredrikw/scipy,pbrod/scipy,ales-erjavec/scipy,nvoron23/scipy,pyramania/scipy,ilayn/scipy,haudren/scipy,njwilson23/scipy,jjhelmus/scipy,scipy/scipy,arokem/scipy,andim/scipy,aman-iitj/scipy,WillieMaddox/scipy,piyush0609/scipy,rgommers/scipy,fredrikw/scipy,efiring/scipy,aeklant/scipy,dominicelse/scipy,andim/scipy,juliantaylor/scipy,hainm/scipy,anielsen001/scipy,anielsen001/scipy,Newman101/scipy,jonycgn/scipy,aman-iitj/scipy,bkendzior/scipy,gdooper/scipy,mgaitan/scipy,Gillu13/scipy,lukauskas/scipy,aeklant/scipy,FRidh/scipy,futurulus/scipy,gfyoung/scipy,sriki18/scipy,andim/scipy,pbrod/scipy,sauliusl/scipy,hainm/scipy,endolith/scipy,vhaasteren/scipy,fredrikw/scipy,mdhaber/scipy,mtrbean/scipy,zxsted/scipy,kleskjr/scipy,giorgiop/scipy,ndchorley/scipy,piyush0609/scipy,sauliusl/scipy,vigna/scipy,behzadnouri/scipy,zxsted/scipy,mingwpy/scipy,anielsen001/scipy,haudren/scipy,Stefan-Endres/scipy,Shaswat27/scipy,nvoron23/scipy,haudren/scipy,Newman101/scipy,mtrbean/scipy,Kamp9/scipy,ales-erjavec/scipy,mortada/scipy,efiring/scipy,pbrod/scipy,pizzathief/scipy,pyramania/scipy,Kamp9/scipy,zaxliu/scipy,hainm/scipy,mingwpy/scipy,dominicelse/scipy,Srisai85/scipy,raoulbq/scipy,jseabold/scipy,felipebetancur/scipy,woodscn/scipy,ilayn/scipy,jor-/scipy,surhudm/scipy,Kamp9/scipy,trankmichael/scipy,maciejkula/scipy,futurulus/scipy,Newman101/scipy,Stefan-Endres/scipy,surhudm/scipy,jamestwebber/scipy,lhilt/scipy,pizzathief/scipy,jonycgn/scipy,mortonjt/scipy,larsmans/scipy,matthewalbani/scipy,mgaitan/scipy,larsmans/scipy,aman-iitj/scipy,richardotis/scipy,e-q/scipy,behzadnouri/scipy,piyush0609/scipy,maniteja123/scipy,vhaasteren/scipy,mhogg/scipy,nvoron23/scipy,Kamp9/scipy,bkendzior/scipy,anntzer/scipy,jonycgn/scipy,newemailjdm/scipy,fernand/scipy,endolith/scipy,sargas/scipy,woodscn/scipy,nonhermitian/scipy,trankmichael/scipy,gfyoung/scipy,ChanderG/scipy,niknow/scipy,Kamp9/scipy,woodscn/scipy,josephcslater/scipy,zxsted/scipy,giorgiop/scipy,petebachant/scipy,WarrenWeckesser/scipy,gef756/scipy,futurulus/scipy,Gillu13/scipy,haudren/scipy,vanpact/scipy,sargas/scipy,zerothi/scipy,WillieMaddox/scipy,fredrikw/scipy,Newman101/scipy,lukauskas/scipy,argriffing/scipy,Stefan-Endres/scipy,Dapid/scipy,perimosocordiae/scipy,ndchorley/scipy,apbard/scipy,chatcannon/scipy,zaxliu/scipy,niknow/scipy,larsmans/scipy,matthewalbani/scipy,mikebenfield/scipy,newemailjdm/scipy,mortada/scipy,vanpact/scipy,vigna/scipy,zerothi/scipy,felipebetancur/scipy,matthew-brett/scipy,raoulbq/scipy,aman-iitj/scipy,piyush0609/scipy,mgaitan/scipy,ogrisel/scipy,endolith/scipy,mhogg/scipy,Shaswat27/scipy,jonycgn/scipy,zerothi/scipy,njwilson23/scipy,minhlongdo/scipy,perimosocordiae/scipy,scipy/scipy,Kamp9/scipy,jseabold/scipy,gef756/scipy,jor-/scipy,apbard/scipy,sauliusl/scipy,mdhaber/scipy,rmcgibbo/scipy,newemailjdm/scipy,witcxc/scipy,matthewalbani/scipy,anntzer/scipy,jseabold/scipy,sauliusl/scipy,mgaitan/scipy,jsilter/scipy,aman-iitj/scipy,pizzathief/scipy,mortonjt/scipy,petebachant/scipy,gertingold/scipy,ndchorley/scipy,cpaulik/scipy,arokem/scipy,maciejkula/scipy,perimosocordiae/scipy,raoulbq/scipy,sriki18/scipy,vanpact/scipy,ales-erjavec/scipy,bkendzior/scipy,maniteja123/scipy,haudren/scipy,njwilson23/scipy,petebachant/scipy,pnedunuri/scipy,WillieMaddox/scipy,anielsen001/scipy,kleskjr/scipy,pyramania/scipy,mingwpy/scipy,gef756/scipy,felipebetancur/scipy,witcxc/scipy,pbrod/scipy,richardotis/scipy,futurulus/scipy,Shaswat27/scipy,grlee77/scipy,maciejkula/scipy,njwilson23/scipy,andim/scipy,petebachant/scipy,sonnyhu/scipy,nvoron23/scipy,FRidh/scipy,tylerjereddy/scipy,gfyoung/scipy,lhilt/scipy,matthew-brett/scipy,zxsted/scipy,grlee77/scipy,lhilt/scipy,mdhaber/scipy,pnedunuri/scipy,ortylp/scipy,woodscn/scipy,dch312/scipy,niknow/scipy,rgommers/scipy,ilayn/scipy,scipy/scipy,jamestwebber/scipy,matthew-brett/scipy,surhudm/scipy,vigna/scipy,anntzer/scipy,andyfaff/scipy,larsmans/scipy,anielsen001/scipy,fernand/scipy,zerothi/scipy,pyramania/scipy,efiring/scipy,josephcslater/scipy,gdooper/scipy,ortylp/scipy,Eric89GXL/scipy,befelix/scipy,Eric89GXL/scipy,jseabold/scipy,anntzer/scipy,efiring/scipy,witcxc/scipy,trankmichael/scipy,minhlongdo/scipy,sargas/scipy,tylerjereddy/scipy,nmayorov/scipy,gertingold/scipy,Newman101/scipy,sonnyhu/scipy,sriki18/scipy,jseabold/scipy,lukauskas/scipy,felipebetancur/scipy,ndchorley/scipy,minhlongdo/scipy,apbard/scipy,anielsen001/scipy,endolith/scipy,behzadnouri/scipy,jseabold/scipy,piyush0609/scipy,kalvdans/scipy,hainm/scipy,pnedunuri/scipy,vberaudi/scipy,fredrikw/scipy,Stefan-Endres/scipy,person142/scipy,rmcgibbo/scipy,josephcslater/scipy,vhaasteren/scipy,Shaswat27/scipy,vhaasteren/scipy,minhlongdo/scipy,apbard/scipy,WillieMaddox/scipy,tylerjereddy/scipy,zerothi/scipy,Dapid/scipy,Srisai85/scipy,sonnyhu/scipy,mingwpy/scipy,mingwpy/scipy