diff --git a/RefactorPlan b/RefactorPlan index 36a2b21d..c4b2efde 100644 --- a/RefactorPlan +++ b/RefactorPlan @@ -84,9 +84,9 @@ writing our own simple serialization routines for some objects like Conflicts or * ComponentDB should not hold lists of Packages that belongs to it. A new index for components to package DB should be enough. -* Current implementation of repository system is suboptimal. We add every package to a Dictionary as a value -repository name as value and add that dictionary to db. For example if I am adding package foo to -packages db, I am actually adding, a Dictionary with [foo, "repotype"] to db. +* Current implementation of repository system is suboptimal. We add every package to a Dictionary as value +and repository name as key and add that dictionary to db. For example if I am adding package foo to +packages db, I am actually adding, a Dictionary with ["repotype", foo] to db. This is cheap, bloated and slow. We must have different repository databases for packages. ==> class attributes