From 6779f925f10f3bf101e580b94eb2eccf297b54eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20D=2E=20Ak=C4=B1n?= Date: Sun, 11 Mar 2007 12:56:50 +0000 Subject: [PATCH] current repository management system sucks. --- RefactorPlan | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RefactorPlan b/RefactorPlan index 4da89972..36a2b21d 100644 --- a/RefactorPlan +++ b/RefactorPlan @@ -84,6 +84,11 @@ 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. +This is cheap, bloated and slow. We must have different repository databases for packages. + ==> class attributes * In some classes there are some attributes assigned but never used. (see remove_unused_attributes.patch)