Patent attributes
Systems and methods for pre-computing and memoizing simulations are disclosed. In an embodiment, a computer system may retrieve processing filters for running a simulation. The computer system may generate a simulation query based on the simulation filters and hash the simulation query. The computer system may determine whether a simulation result corresponding to the hashed simulation query has been pre-computed and stored. If the simulation result has been pre-computed and stored, the computer system may provide the simulation result in a user interface. If the simulation has not been pre-computed, the computer system may run a simulation and store the simulation results with a mapping to the hashed simulation query. If an identical simulation query is requested, the computer system may match a hash of the simulation query to a stored hash and provide the memoized simulation result without recomputing the simulation result, so simulation processing times can be reduced.