Two-second rule two seconds as inadequate, and recommend a three-second rule. German law requires a minimum 0.9 second distance but when tested under relaxed conditions researchers found that their test subjects spent 41% of the test time at following distances under 0.9 second. The United States National Safety Council suggests that a three-second rule—with increases of one second per factor of driving difficulty—is more appropriate. Factors that make driving more difficult include poor lighting conditions (dawn and dusk are the most common); inclement weather (ice, rain, snow, fog, etc.), adverse traffic mix (heavy vehicles, slow vehicles, impaired drivers, pedestrians, bicyclists, etc.), and
As-if rule two exceptions concern the copying of objects, and are called copy elision and the return value optimization. The effect of the as-if rule depends on the specific compiler implementation. As an example, in the Microsoft C++ compiler, it causes omission of certain optimizations such as instruction reordering around calls to library functions, since such calls may cause input/output actions or accesses to memory locations marked , and changes in the order of those change observable behavior. The as-if rule is not specific to C++; many other programming languages, including C, Rust , Go, Ocaml, etc... -implementable in compilers- have a