Pre-computation and memoization of simulations

    公开(公告)号:US12008009B2

    公开(公告)日:2024-06-11

    申请号:US17516541

    申请日:2021-11-01

    申请人: PAYPAL, INC.

    摘要: 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.

    PRE-COMPUTATION AND MEMOIZATION OF SIMULATIONS

    公开(公告)号:US20230137497A1

    公开(公告)日:2023-05-04

    申请号:US17516541

    申请日:2021-11-01

    申请人: PAYPAL, INC.

    摘要: 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.