Micro-optimize RegisterSignal, saving 0.3s of init time (#69638)
Micro-optimize RegisterSignal, saving 0.3s of init time (#69638)


About The Pull Request

Caches some vars, merges some statements by abusing x = y returning y. Goes from .53ms per call to .45ms per call, saving over .3s of init time due to its call count.

MicroWorldwide/SS13-TG-station,tgstation/tgstation,MicroWorldwide/SS13-TG-station,tgstation/tgstation,tgstation/tgstation,Bawhoppen/-tg-station,Bawhoppen/-tg-station,MicroWorldwide/SS13-TG-station,tgstation/tgstation,MicroWorldwide/SS13-TG-station,Bawhoppen/-tg-station,ShizCalev/tgstation,Bawhoppen/-tg-station,ShizCalev/tgstation,tgstation/tgstation,MicroWorldwide/SS13-TG-station,MicroWorldwide/SS13-TG-station,MicroWorldwide/SS13-TG-station,ShizCalev/tgstation,ShizCalev/tgstation,tgstation/tgstation,Bawhoppen/-tg-station,tgstation/tgstation,MicroWorldwide/SS13-TG-station,Bawhoppen/-tg-station,Bawhoppen/-tg-station,Bawhoppen/-tg-station,ShizCalev/tgstation,ShizCalev/tgstation,ShizCalev/tgstation,tgstation/tgstation,ShizCalev/tgstation