I object.
what why?
because if this only needs to happen once for one object you loose way more performance then just editing the object’s UVs.
additionally, if you shove the code into the custom UV pin and then change the UV you are using across the different texture samples you would also somewhat save on performance.
I THINK you can even just override the default behaviour of UV0 this way. Basically hook the code into the UV0 pin and you won’t even need to update the UV nodes…