Don't call Variant::reference() unnecessarily
Don't call Variant::reference() unnecessarily

operator= does not need to call reference() if the new value is of the
same type as the old. This saves us zeroing the Variant, This speeds
up reuse of a Variant in a loop by roughly 50%.

zicklag/godot,Faless/godot,godotengine/godot,vnen/godot,MarianoGnu/godot,NateWardawg/godot,ex/godot,Paulloz/godot,firefly2442/godot,Faless/godot,mcanders/godot,vkbsb/godot,Zylann/godot,vnen/godot,Faless/godot,Brickcaster/godot,sanikoyes/godot,sanikoyes/godot,Paulloz/godot,godotengine/godot,Zylann/godot,pkowal1982/godot,sanikoyes/godot,FateAce/godot,okamstudio/godot,Zylann/godot,okamstudio/godot,godotengine/godot,n-pigeon/godot,ZuBsPaCe/godot,ex/godot,Faless/godot,akien-mga/godot,groud/godot,ZuBsPaCe/godot,firefly2442/godot,mcanders/godot,jejung/godot,firefly2442/godot,honix/godot,josempans/godot,vkbsb/godot,akien-mga/godot,honix/godot,Brickcaster/godot,BastiaanOlij/godot,Valentactive/godot,josempans/godot,zicklag/godot,ageazrael/godot,vkbsb/godot,Brickcaster/godot,MarianoGnu/godot,vkbsb/godot,NateWardawg/godot,godotengine/godot,pkowal1982/godot,NateWardawg/godot,ZuBsPaCe/godot,groud/godot,honix/godot,vkbsb/godot,godotengine/godot,Paulloz/godot,honix/godot,Shockblast/godot,okamstudio/godot,Brickcaster/godot,guilhermefelipecgs/godot,sanikoyes/godot,Paulloz/godot,ageazrael/godot,Valentactive/godot,RandomShaper/godot,DmitriySalnikov/godot,zicklag/godot,n-pigeon/godot,Brickcaster/godot,firefly2442/godot,FateAce/godot,n-pigeon/godot,mcanders/godot,Paulloz/godot,sanikoyes/godot,honix/godot,firefly2442/godot,n-pigeon/godot,MarianoGnu/godot,Brickcaster/godot,groud/godot,FateAce/godot,akien-mga/godot,Zylann/godot,zicklag/godot,guilhermefelipecgs/godot,vnen/godot,pkowal1982/godot,ZuBsPaCe/godot,groud/godot,FateAce/godot,Shockblast/godot,DmitriySalnikov/godot,okamstudio/godot,MarianoGnu/godot,firefly2442/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,jejung/godot,pkowal1982/godot,BastiaanOlij/godot,honix/godot,NateWardawg/godot,n-pigeon/godot,BastiaanOlij/godot,josempans/godot,Zylann/godot,okamstudio/godot,guilhermefelipecgs/godot,ex/godot,NateWardawg/godot,Shockblast/godot,mcanders/godot,Brickcaster/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,Faless/godot,akien-mga/godot,Valentactive/godot,Paulloz/godot,ageazrael/godot,ZuBsPaCe/godot,MarianoGnu/godot,mcanders/godot,firefly2442/godot,RandomShaper/godot,ageazrael/godot,MarianoGnu/godot,Valentactive/godot,godotengine/godot,vnen/godot,godotengine/godot,josempans/godot,Valentactive/godot,mcanders/godot,vkbsb/godot,DmitriySalnikov/godot,ZuBsPaCe/godot,vnen/godot,n-pigeon/godot,ZuBsPaCe/godot,guilhermefelipecgs/godot,RandomShaper/godot,BastiaanOlij/godot,ex/godot,NateWardawg/godot,FateAce/godot,Shockblast/godot,Faless/godot,DmitriySalnikov/godot,RandomShaper/godot,okamstudio/godot,ex/godot,vkbsb/godot,Valentactive/godot,vnen/godot,sanikoyes/godot,Shockblast/godot,josempans/godot,pkowal1982/godot,ageazrael/godot,akien-mga/godot,groud/godot,jejung/godot,guilhermefelipecgs/godot,okamstudio/godot,ex/godot,zicklag/godot,Paulloz/godot,jejung/godot,NateWardawg/godot,RandomShaper/godot,Shockblast/godot,akien-mga/godot,Faless/godot,ex/godot,RandomShaper/godot,DmitriySalnikov/godot,okamstudio/godot,ZuBsPaCe/godot,okamstudio/godot,vnen/godot,zicklag/godot,NateWardawg/godot,DmitriySalnikov/godot,Valentactive/godot,Zylann/godot,n-pigeon/godot,josempans/godot,sanikoyes/godot,godotengine/godot,pkowal1982/godot,ageazrael/godot,Zylann/godot,sanikoyes/godot,akien-mga/godot,akien-mga/godot,vnen/godot,BastiaanOlij/godot,jejung/godot,ageazrael/godot,jejung/godot,groud/godot,Faless/godot,MarianoGnu/godot,firefly2442/godot,Shockblast/godot,pkowal1982/godot,vkbsb/godot,Shockblast/godot,josempans/godot,Valentactive/godot,DmitriySalnikov/godot,NateWardawg/godot,okamstudio/godot,MarianoGnu/godot,josempans/godot,pkowal1982/godot,Zylann/godot,ex/godot,FateAce/godot,RandomShaper/godot,BastiaanOlij/godot