Gentoo Archives: gentoo-portage-dev

From: Gustavo Sverzut Barbieri <barbieri@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] SQLite backend?
Date: Tue, 17 Jan 2006 04:02:35
Message-Id: 9ef20ef30601162001y3259e77ey3bedb0f60d878ff0@mail.gmail.com
1 Hello,
2
3 I admit I have not followed last threads about cache and new
4 infrastructure (plugins and stuff).
5
6 However I followed the template and coded a SQLite3 (pysqlite2)
7 backend: http://www.gustavobarbieri.com.br/gentoo/portage_db_sqlite.py
8
9 The main problem is that it's really slow to search and calculare
10 dependencies. Could some developer take a look and tell me where I can
11 improve it?
12
13 In an ideal world, I wouldn't have to pickle/unpickle data but have
14 its data in columns instead... one would re-encode the version strings
15 using a pattern that is comparable by string, so you should be able to
16 search for a given string or higher versions.
17
18 --
19 Gustavo Sverzut Barbieri
20 --------------------------------------
21 Computer Engineer 2001 - UNICAMP
22 Mobile: +55 (19) 9165 8010
23 Phone: +1 (347) 624 6296; 08122692@××××××××××××××.com
24 Jabber: gsbarbieri@××××××.org
25 ICQ#: 17249123
26 MSN: barbieri@×××××.com
27 GPG: 0xB640E1A2 @ wwwkeys.pgp.net
28
29 --
30 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] SQLite backend? Francesco Riosa <BastianBalthazarBux@×××××××××.it>
Re: [gentoo-portage-dev] SQLite backend? Brian Harring <ferringb@g.o>