Ok, I have just committed the changes to subversions.

Thanks.

> After those correction, I'll release the 1.2.0.
> The futures releases will be targetted on optimization.

  Ummm, the debian port would certainly be a lot faster if we
avoid using dpkg as much as possible and do the work directly
parsing the files in /var/lib/dpkg. This would mean replacing
the `dpkg --status' and
`dpkg --listfiles' with greps into some files.

  In Debian, dpkg is very slow, and apt, which would be faster, is
not required, so it is not installed in all debian systems.

(To give an idea of how slow is dpkg, `dpkg --status any_package'
takes 2 seconds on an AMD [EMAIL PROTECTED] This is because it parses
really big files! On that system, it took more than half an hour to
generate the output directory for around 1000 packages).

 If you want, I could do the changes in modules/dpkg.sh.

If you have the time to do so, don't hesitate. I would be glad if you improve the program in that way.

The rpm command is also slow but it seems to be the more portable way to get informations about the rpm database.

Regards,


--
Mathieu Roy
 http://savannah.gnu.org/users/yeupou
http://yeupou.coleumes.org
http://gpg.coleumes.org (GPG Key)

Reply via email to