Changes between Initial Version and Version 1 of Ticket #13394, comment 24


Ignore:
Timestamp:
10/29/13 17:25:28 (6 years ago)
Author:
SimonKing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13394, comment 24

    initial v1  
    11With the latest commit, there is a context manager preventing the dictionary from negative effects of deletions. The doctests show what the context manager is capable of.
    22
    3 It is still "needs review". Perhaps one should test if the whole thing is still faster than `weakref.WeakValueDictionar`. Even if it is (more or less) equally fast, it is a progress, since `sage.misc.weak_dict.WeakValueDictionary` now seems to be bullet proof regarding garbage collection and explicit deletions.
     3It is still "needs review". Perhaps one should test if the whole thing is still faster than `weakref.WeakValueDictionary`. Since `sage.misc.weak_dict.WeakValueDictionary` now seems to be bullet proof regarding garbage collection and explicit deletions, we should use it, unless it is significantly slower than Python's own implementation.
    44
    55Challange: Try to break it...