Hi Nathann,

On 2014-12-01, Nathann Cohen <nathann.co...@gmail.com> wrote:
> The problem here is that inheriting from UniqueRepresentation wastes a 
> *LOT* of time on some computations [2], and is actually the most costly 
> part of the creation of some posets. Also, the current behaviour makes it 
> impossible for Jori to enumerate posets up to isomorphism (because of the 
> memory cost).

Is it clear why their not freed, even though UniqueRepresentation only
puts a *weak* reference to them (it uses a weak value dictionary)?

In any case, it is possible to explicitly clear the cache of a
UniqueRepresentation. But this would only help if there is a strong reference
pointing from the dictionary key to the corresponding item.

Best regards,
SImon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to