Can UE4 simulate large code and physics properly if it lags?

I remember a neural learning algorithm than ran in flash on a web browser year ago. While the OP has a larger scope than some simple AI, none-the-less, UE4 is great for visualizing and iterating ideas