From c799a63618945c1c59de2c700fcf3d7aa3425d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20D=2E=20Ak=C4=B1n?= Date: Sun, 11 Mar 2007 13:02:19 +0000 Subject: [PATCH] correction. --- RefactorPlan | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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