[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.0.0-585-g2f55733

Nagy Gabor ngaba at bibl.u-szeged.hu
Mon Nov 19 06:31:19 EST 2007


> commit c244cfecf654d34032585530f00d68501ec63d77
> Author: Dan McGee <dan at archlinux.org>
> Date:   Mon Nov 12 23:01:14 2007 -0600
> 
>     Move alpm_splitdep usage to db_read
>     
>     Holy inefficient batman! For a pacman -Qt operation (when we are using
>     compute_requiredby and not database entries), splitdep was being called
> ~1.3
>     million times on my local database. By splitting when we read the DB, we
>     drop this number to around 1700 and save a LOT of time in doing so (a 5x
>     increase in pacman -Qt speed here).
>     
>     Note that the depends alpm_list_t in the package struct is no longer a
>     string list, but a list of pmdepent_t objects.
>     
>     Signed-off-by: Dan McGee <dan at archlinux.org>
Small note: Storing pmdepend_t in pkgcache eats much more memory.
Bye


----------------------------------------------------
SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/





More information about the pacman-dev mailing list