you could get cramps which would make you stop swimming and only go for after an hour or so anyway. so it would be best to wait outside painlessly than go through painful waiting.
you'd do either whether you go swimming or not. painless waiting is way better than painful waiting any day.