Of course it will always depend on the individual poosition. But, from a general consideration, the move ...B(g7)xR(a1), first if the opening you are in is one of the openings in your opening repertoire then the decision is easy because you have been in that position as Black many times. Your Middlegame and Endgame visualization pattern memory banks will shortcut detailed analysis of the position. Regarding bullet or blitz, you have highlighted one of the reasons that strong players play bullet or blitz. That reason is that it triggers the visualization patterns mentioned and reinforces those visualization patterns in your mind.
The same holds for ...B(b7)xR(h1).
If the position is one from an opening that is not one the openings in your opening repertoire, then it will require detailed analysis of the position. Your 5 visualization pattern memory banks will be a great aid in analyzing the individual position no matter what the time controls.
Surely the rook has more value than the bishop, but there are positions in the game that trading this two pieces is not clear in our benefit.
So, my dilema about this topic begins when I'm playing with black and there is an oportunity to trade my king side fianchetto bishop with the oposite rook (in a1). In the endgame I see no problem with earning the exchange but what about in the early and middle game, when there are still the queens and bishops in the game? Don't you get scared by giving the long diagonal to your opponent and with that, a very clear "highway" to be attacked? Or do you calculate this every single time? But what do you do if you are playing bullet or blitz, where there is little time to calculate?
I leave this now to your discussion.
Cheers.