Since both linear memory and variables can be serialized and deserialized. Is it possible to export all currently defined variables and functions as snapshots, and then directly import the snapshots for calculation?