In trying to implement MagmaPersistency it turns out
that the fact
that
PRContext holds a local cache to the current session may be a bit of a
pain. Not only may there be a lot more stuff accidentally persisted
through this reference, there may actually be objects that magma gurus
say 'don't persist these if you know what is good for you'.
What kind of cache?
There is a reference to the kernel. To the currently browsed
structure and the currently executed command. Moreover there is a
time-stamp and an enumerator object. Ideally descriptions on the
class-side should tell you what fields have to be persistent.
I cant see that this cache is widely used, so I
wondered if anyone
would
object if it was removed
Is it something you added yourself? I am lost :-)
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch