[pacman-dev] _alpm_sortbydeps is slow and buggy

VMiklos vmiklos at frugalware.org
Mon Apr 16 07:13:06 EDT 2007


Na Sat, Apr 14, 2007 at 11:42:44AM +0200, Nagy Gabor <ngaba at petra.hos.u-szeged.hu> pisal(a):
> As a hotfix, plz change sqrt(n) to n-1 (or n) and remove libm; and

please do a benchmark with this change for 5000 pkgs. it'll be *very*
slow. currently it is done in a minute even on a slower machine. it may
be buggy, but the fix should not be about slowing down the function so
much

thanks,
VMiklos

-- 
developer of Frugalware Linux - http://frugalware.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20070416/a4c5284b/attachment.pgp>


More information about the pacman-dev mailing list