Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
Before we do any fancy thing to keep the two caches consistent (such
as creating a "cached_image_instance" object that proxys for
image_instances, but has a finalizer that removes it from the frame
cache). How about trying to get rid of the frame cache alltogether?
Note that that proxy can be simply storing Fcons(instance,Qnil)
instead of instance. This cons is then a private object shared between
the two caches so no other objects can hold references to it.
Jan