From f2ad75794c012b561ff46eb53e047eb02ec00dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20D=2E=20Ak=C4=B1n?= Date: Mon, 5 Mar 2007 11:18:01 +0000 Subject: [PATCH] Add some items --- RefactorPlan | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/RefactorPlan b/RefactorPlan index 1622b19c..b0fb3ede 100644 --- a/RefactorPlan +++ b/RefactorPlan @@ -42,7 +42,7 @@ def unzip(seq): * Python builtins like file, list, etc should be avoided in variable names. There is even a file.py module! -* a,b,c,d,f,r,_i are equally bad. +* a,b,c,d,f,r,_i,A,B,C,G are equally bad. * some import'ed modules are not used inside the importer modules, cleanup needed. @@ -67,14 +67,16 @@ out exact error is try to parse error string (which is localized). * We should have a DB performance test suite to find important points to make faster, if we cannot measure, we cannot improve. -* We should use "2" as pickle protocol. currently we use old binary pickle protocol "1". New +* [FIXED] We should use "2" as pickle protocol. currently we use old binary pickle protocol "1". New protocol generally produces more compact pickled objects (dbshelve.py) * History, and Summary-Description objects should be kept in seperate db files. This way we can have faster searches and probably faster access to packages and better memory footprint -* We ca +* For big objects with many member objects (Package, from pisi.metadata) we might investigate +writing our own simple serialization routines for some objects like Conflicts or additionalfiles. +* context singleton is a mess. Maybe we should consider another approach to access common db objects ==> class attributes * In some classes there are some attributes assigned but never