These are chat archives for astropy/astropy
SkyCoordis taken up in creating the object. There's a lot of stuff that happens when a new
SkyCoordis created, regardless of how its created... Some of which is probably ripe for improving. There's some work afoot to try to fix that, though. Have you tried this with master? When I try your gist in master, I get that the SkyCoord random is 1 ms, and random+ reshape is ~2 ms with the latest master... That's still consistent with the dominant term being the "create SkyCoord" part, but it's both progress in that it's about 15x faster and the reshape is now only ~2x slower instead of 3x...
SkyCoord.transform_tois slow as well, even when transforming to the
SkyCoordis already in (i.e., no real transformation). I assume that's also because a new
SkyCoordobject is created, right?