I have nothing but respect for game developers. What they create are nothing short of technical feats and they tend to work with anemic budgets.
If you think a second is fast, bear in mind the benchmark to reach in game development is processing and rendering sixty times a second! To put this in perspective, most websites are unable to process and render sixty times a second despite doing far less work.
How do game developers accomplish these awesome feats? They gain a working knowledge of the environments their games run in and figure out how to take advantage of it to accomplish their goals.
More practically, they identify what makes it impossible for their code to reliably run sixty times a second. The source of the limitation is labeled expensive and they use their knowledge of the environment to create clever ways to workarounds.
As web developers we can learn a lot from this practice. We need to understand what keeps our websites from running smoothly and work around them.