bThink-BGU / BPjs

Environment for running behavioral programs written in JavaScript.
MIT License
37 stars 8 forks source link

Pseudo-Serialization of non-serializable objects #170

Open michbarsinai opened 3 years ago

michbarsinai commented 3 years ago

If these objects are immutable, it is OK to store them somewhere, and serialize a placeholder instead. Then, replace the placeholder with the stored object upon de-serialization.

This will relax a the requirement for heap/stack objects to be serializable.

michbarsinai commented 2 years ago

Related to #107