ENH: Improve performance of lsmr
ENH: Improve performance of lsmr

Use in-place operators in main loop to avoid temporary allocations
arrays where possible

jor-/scipy,arokem/scipy,Stefan-Endres/scipy,tylerjereddy/scipy,lhilt/scipy,scipy/scipy,rgommers/scipy,andyfaff/scipy,endolith/scipy,nmayorov/scipy,pizzathief/scipy,person142/scipy,e-q/scipy,zerothi/scipy,aeklant/scipy,Eric89GXL/scipy,person142/scipy,person142/scipy,WarrenWeckesser/scipy,vigna/scipy,matthew-brett/scipy,vigna/scipy,lhilt/scipy,mdhaber/scipy,arokem/scipy,e-q/scipy,andyfaff/scipy,person142/scipy,vigna/scipy,Eric89GXL/scipy,scipy/scipy,jamestwebber/scipy,tylerjereddy/scipy,ilayn/scipy,person142/scipy,jor-/scipy,ilayn/scipy,Stefan-Endres/scipy,aeklant/scipy,grlee77/scipy,rgommers/scipy,grlee77/scipy,jor-/scipy,matthew-brett/scipy,endolith/scipy,mdhaber/scipy,aarchiba/scipy,anntzer/scipy,pizzathief/scipy,vigna/scipy,rgommers/scipy,lhilt/scipy,mdhaber/scipy,Eric89GXL/scipy,vigna/scipy,e-q/scipy,aarchiba/scipy,endolith/scipy,scipy/scipy,anntzer/scipy,andyfaff/scipy,nmayorov/scipy,nmayorov/scipy,ilayn/scipy,perimosocordiae/scipy,matthew-brett/scipy,jamestwebber/scipy,aarchiba/scipy,perimosocordiae/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,endolith/scipy,andyfaff/scipy,aeklant/scipy,tylerjereddy/scipy,anntzer/scipy,zerothi/scipy,gertingold/scipy,rgommers/scipy,perimosocordiae/scipy,rgommers/scipy,nmayorov/scipy,Eric89GXL/scipy,anntzer/scipy,arokem/scipy,zerothi/scipy,matthew-brett/scipy,ilayn/scipy,grlee77/scipy,perimosocordiae/scipy,WarrenWeckesser/scipy,WarrenWeckesser/scipy,zerothi/scipy,ilayn/scipy,perimosocordiae/scipy,gertingold/scipy,jamestwebber/scipy,Eric89GXL/scipy,endolith/scipy,aarchiba/scipy,Stefan-Endres/scipy,scipy/scipy,Eric89GXL/scipy,jor-/scipy,aeklant/scipy,WarrenWeckesser/scipy,andyfaff/scipy,arokem/scipy,arokem/scipy,mdhaber/scipy,anntzer/scipy,Stefan-Endres/scipy,gertingold/scipy,zerothi/scipy,Stefan-Endres/scipy,e-q/scipy,grlee77/scipy,endolith/scipy,mdhaber/scipy,grlee77/scipy,andyfaff/scipy,e-q/scipy,gertingold/scipy,scipy/scipy,jamestwebber/scipy,pizzathief/scipy,nmayorov/scipy,zerothi/scipy,tylerjereddy/scipy,perimosocordiae/scipy,matthew-brett/scipy,pizzathief/scipy,lhilt/scipy,mdhaber/scipy,scipy/scipy,WarrenWeckesser/scipy,pizzathief/scipy,anntzer/scipy,gertingold/scipy,aarchiba/scipy,aeklant/scipy,ilayn/scipy,jamestwebber/scipy,tylerjereddy/scipy,lhilt/scipy,jor-/scipy