When this function is called, it causes some algorithm to set up these data points. You can extend this to treat entanglement as copy-on-write style branching, where entangled particles A and B have some subset of their properties stored in the same physical memory, but calling this methods causes writing to those properties, and, thus, when the function is called for particle A, a copy of the properties is made for both A and B, and the evaluation is done for both.
IMO the biggest reason to think the universe isn't a computer is just how darn non-computable quantum mechanics is. The complexity grows at an absurd rate. Even for just the position of two particles you have a 6-dimensional wavefunction with (as far as we know) an infinity of possible values for every (infinitesimal) point in that 6-dimensional state space.
If an intelligence is simulating a universe, they aren't exactly going to be doing it von-neumann style.
Lazy evaluation is generally used to defer some expensive computation until later. In this case, though, the pre-measurement state (a superposition of states) is MORE complicated (computationally speaking) than the post-measurement state, which is nominally a single definite state. It's not a good analogy I'm afraid.