I have never really worried a lot about it but recently I was told by a dive shop that I could not make a one hour night dive to "about" 45 ft off shore with them unless I had a place to stay down there. They were pretty adamant about the "danger." I have many many times done well over an hour single dive at that beach and gotten home within two hours. Their attitude made me think I take the whole thing too lightly. P.S. I am a (non-teaching) PADI certified instructor.
Current DAN recommendations after the Flying after diving workshop
apply to air dives followed by flights at cabin altitudes of 2,000 to 8,000 feet (610 to 2,438 meters) for divers who do not have symptoms of decompression sickness (DCS). The recommended preflight surface intervals do not guarantee avoidance of DCS. Longer surface intervals will reduce DCS risk further.
* For a single no-decompression dive, a minimum preflight surface interval of 12 hours is suggested.
* For multiple dives per day or multiple days of diving, a minimum preflight surface interval of 18 hours is suggested.
* For dives requiring decompression stops, there is little evidence on which to base a recommendation and a preflight surface interval substantially longer than 18 hours appears prudent.
What must be remember that these figures come from controlled dives in a Hyperbaric Unit, so a number of factors are not involved in this process such as cold, exercise...etc.
Some divers will plan their dives as being at altitude and reason that the dive will be somewhat more conservative than it otherwise would have been which is true, however the dive will still likely result in some degree of bubble formation. What happens to these bubbles on ascent to altitude is still very highly unpredictable.
I believe that there was some testing of this strategy which found an unacceptably high rates of DCI and it was not recommended.
So it is wise to impose an delay after diving before ascending to altitude and you find a lot of Hyperbaric/Diving Specialists Doctors agree that is hard to put a time on it to say exactly how long is okay before you are able to go to altitude with out risk
Best advice is always be conservative