When graphs are derived from STM variables, they seem to be recomputed. At least, the program is slower when raw graphs are stored. It seems that the runtime does not know that the graph has not changed when it comes from STM.
It may be a possibility to store all the objects in the State variable.
FRP may be a solution. We have a fixed network of calculations for the system of objects.
When graphs are derived from STM variables, they seem to be recomputed. At least, the program is slower when raw graphs are stored. It seems that the runtime does not know that the graph has not changed when it comes from STM. It may be a possibility to store all the objects in the State variable.
FRP may be a solution. We have a fixed network of calculations for the system of objects.