[PyTorch] Reduce size of register_symbols.cpp (#53278)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/53278
We can avoid duplicating the string data for the namespaces
by assembling qualified names ourselves as needed.
ghstack-source-id: 123111718
Test Plan:
CI
buildsizebot some iOS apps
Reviewed By: dhruvbird, walterddr, ot
Differential Revision: D26820648
fbshipit-source-id: e2560874c54f46210181ddfee354967644bd41e1