Merged from trunk 10770:10780
| 10771 | Bug #229233 - Fix Atom -> str breakage in the |
| zmedico | depgraph.display_problems() package.provided warning |
| | message. |
| 10772 | Use weakref.WeakValueDictionary to make cached Atom |
| zmedico | instances eligible for garbage collection when no strong |
| | references remain. |
| 10773 | If dep calculation time exceeds 20 seconds then |
| zmedico | automatically enable "complete" mode since any performance |
| | difference is not as likely to be noticed by the user after |
| | this much time has passed. |
| 10774 | Fix spelling of depgraph._complete_threshold. |
| zmedico | |
| 10775 | Bug #229069 - Before deleting the depgraph, break references |
| zmedico | pointing to the depgraph from Package instances in the merge |
| | list. This helps reduce the heap size a lot. |
| 10776 | For the Package.metadata attribute, only implement the dict |
| zmedico | interface instead of actually inheriting from dict. This |
| | slightly decreases the memory footprint by defining |
| | __slots__ and storing items as object attributes. |
| 10777 | Remove the BlockerDB._blocker_cache attribute and just |
| zmedico | create new instances on demand instead of taking space on |
| | the heap. |
| 10778 | Make clear_caches() call portage.dircache.clear(). |
| zmedico | |
| 10779 | Use os.listdir() instead of portage.listdir() to avoid |
| zmedico | needless caching of directories that only need to be listed |
| | once. |
| 10780 | Implement __contains__, pop() and clear() for |
| zmedico | Package.metadata attributes. |
svn path=/main/branches/prefix/; revision=10781