[Frugalware-devel] Re: Pacman speed improvement
Nagy Gabor
ngaba at petra.hos.u-szeged.hu
Wed Feb 28 00:56:29 CET 2007
Hi!
One more thing. But some inspirational words first :-) (quoted from my
pacman-dev message):
"I'm saying that nothing is wrong with the current backend, just some
needed properties of the database is not stored explicitly, that's why
you have to find it with brute force (by reading the whole database)!
You say that many small files are bad, but that's not true; you can
think of it, that you have extra pointers (directory names) which
points to the needed data!"
5. Broken dependencies should be stored in somewhere,
in local/.brokendeps for example. (A package manager just must store the
packages and the relations between them; and now the broken
dependencies' "endpoint" is not stored (just implicitly), so you have
to read the whole database to fill in requiredby)
6. ldconfig: we talked about it on the irc channel: a NOLDCONFIG flag
in package or autodetection (in makepkg or in pacman) would be nice.
I'm _sure_, if we implement 1-6., pacman
will be extremely fast (faster than "one-file" databases)!
Bye, Nagy Gabor
More information about the Frugalware-devel
mailing list